19 lines
436 B
Markdown
19 lines
436 B
Markdown
|
react-three fiber
|
||
|
|
||
|
```sh
|
||
|
$ npm i
|
||
|
$ npm run start
|
||
|
```
|
||
|
|
||
|
## install
|
||
|
|
||
|
```sh
|
||
|
# npx create-react-app galaxy --template typescript
|
||
|
# npm install three three-stdlib @types/three @react-three/fiber @react-three/fiber @react-three/drei @react-three/postprocessing
|
||
|
```
|
||
|
|
||
|
## ref
|
||
|
|
||
|
- galaxy.glb : https://sketchfab.com/3d-models/need-some-space-d6521362b37b48e3a82bce4911409303
|
||
|
- tsx : https://gist.github.com/artokun/fb7f0c68a01ba5d9813abb3ccce254c4
|