一个基于 three 可视化项目,用来实现一些小的 demo,下面都是一些无关紧要的碎碎念
- GitHub 地址:https://github.com/lizuoqun/visualThree
- Gitee 地址:https://gitee.com/modify_lzq/visualThree.git
- vue3 安装 tailwindcss
- 安装 three、d3 需要安装对应 types,在 tsconfig.json 当中配置
- 项目加入了自动导入,vue 里面没有默认的 import
注:因为 glb、gltf 模型都挺大的,并且这里也是托管到 Github Pages,所以耗时会长一点
不会一直手动去更新这个,可以拉取本项目在本地运行
- 见 router 路由,在路由当中有做说明
- webGL webGL 相关代码案例
- Shader Shader 相关代码案例
git config user.email "your_email@example.com"
git config user.name "zhangsan"