Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roseline124/threejs-template
https://github.com/roseline124/threejs-template
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/roseline124/threejs-template
- Owner: roseline124
- License: mit
- Created: 2023-10-27T15:23:55.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-27T16:04:46.000Z (about 1 year ago)
- Last Synced: 2023-10-27T17:24:50.041Z (about 1 year ago)
- Language: TypeScript
- Size: 281 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# threejs-template
### Project Structure
```
.
├── public
│ ├── css
│ └── models
├── src
│ ├── loading.ts
│ ├── main.ts
│ ├── models
│ ├── objects
│ ├── scene
│ ├── utils
└── tsconfig.json
```- public: static resources location
- src
- loading: loading manager to control loading screen
- main: customize camera, renderer. add objects to scene.
- scene: main scene. you can load scene model.
- objects: add 3d obejct and update object in every frame.
- models: interface, class to abstract.### run project and fix sample code
- `pnpm i`
- `pnpm dev`### deploy with vercel
- [https://vercel.com/dashboard](https://vercel.com/dashboard)