An open API service indexing awesome lists of open source software.

https://github.com/marc-aurele-besner/react-three-next-ts


https://github.com/marc-aurele-besner/react-three-next-ts

nextjs r3f react reactjs threejs typescript

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# React-Three-Next-TS

[![Netlify Status](https://api.netlify.com/api/v1/badges/010e8864-fbd4-43ab-ad70-0435a892b4a1/deploy-status)](https://app.netlify.com/sites/react-three-next-ts/deploys)

# :japanese_castle: React-Three-Next-TS starter   

## Description

A minimalist starter for React, React-three-fiber and Threejs in Typescript.

This starter allows you to navigate seamlessly between pages with dynamic dom and/or canvas content without reloading or creating a new canvas every time.

### ⚫ Demo

[![image](https://user-images.githubusercontent.com/2223602/192515587-eac9e26b-d691-4496-a614-85729764b6b0.jpg)](https://react-three-next.vercel.app/)

### How to use

#### Installation

### :control_knobs: Available Scripts

- `yarn dev` - Next dev
- `yarn analyze` - Generate bundle-analyzer
- `yarn lint` - Audit code quality
- `yarn build` - Next build
- `yarn start` - Next start
- `yarn export` - Export to static HTML

### ⬛ Stack

- [`threejs`](https://github.com/mrdoob/three.js/) – A lightweight, 3D library with a default WebGL renderer.
- [`@react-three/fiber`](https://github.com/pmndrs/react-three-fiber) – A React renderer for Threejs on the web and react-native.
- [`@react-three/drei` - Optional](https://github.com/pmndrs/drei) – useful helpers for react-three-fiber
- [`@react-three/a11y` - Optional](https://github.com/pmndrs/react-three-a11y/) – Accessibility tools for React Three Fiber
- [`r3f-perf` - Optional](https://github.com/RenaudRohlinger/r3f-perf) – Tool to easily monitor react threejs performances.

### How to contribute

```bash
git clone https://github.com/marc-aurele-besner/react-three-next-ts
&& cd react-three-next-ts && yarn install
```

### Origin

This project has been build from a very similar project, just converted to Typescript

[React-Three-Next-JS](https://github.com/pmndrs/react-three-next)