update
This commit is contained in:
18
galaxy-react/readme.md
Normal file
18
galaxy-react/readme.md
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
Reference in New Issue
Block a user