This project showcases a 3D office scene built using Vue.js and Three.js. It features interactive elements such as a rotating chair, animated video screens, and theme switching with dynamic lighting and material effects.
preview: https://threejs-office-scene.netlify.app/
- 💡 Controllable Lamp:
- click lamp to turn it on/off
- ✨ 3D Environment:
- Includes a dynamic background and a ground plane.
- 🖥 Responsive Design:
- Works seamlessly across different screen sizes.
- Node.js (v14 or higher)
- npm (v6 or higher)
-
Clone the repository:
git clone https://github.com/mooncat126/threejs-next-control-game.git cd threejs-next-control-game/office-scene-vue-model
-
Install dependencies:
npm install
-
Run the development server:
npm run serve
-
Open http://localhost:8080/ to view the project locally.
This project is deployed on GitHub Pages. To deploy your own version:
-
Update the
homepage
field inpackage.json
with your repository details. -
Build and deploy:
npm run deploy
This project is licensed under the MIT License.