threejs-demo 是一个展示 Three.js 各种案例的集合,旨在通过实际效果图和代码示例,帮助开发者快速理解和掌握 Three.js 的多种功能。
每一个目录都是一个独立的案例,包含了案例的效果图、代码示例和说明文档。开发者可以根据自己的需求,选择对应的案例进行学习和参考。
- 安装依赖
npm install- 启动项目
npm run dev- 打开浏览器访问
http://localhost:5173
通过 vscode 安装插件Live Server,然后在案例目录下右键选择Open with Live Server即可。
文档:https://www.threejs3d.com/examples/360
文档:https://threejs3d.com/examples/yanhua
文档:https://threejs3d.com/examples/shengdanshu
文档:https://threejs3d.com/examples/card
文档:https://threejs3d.com/examples/star
文档:https://threejs3d.com/examples/rain
文档:https://threejs3d.com/examples/connect
欢迎关注公众号:三木前端笔记,获取更多前端技术干货。
也欢迎加我微信:sanmu1598,一起交流学习。







