cwthree.js
v0.0.22
Published
一款基于Three.js进行了能力抽象的方法库、使用CWThree您可更关注于业务逻辑功能,不必将精力投入复杂的3D渲染效果和功能等非业务核心的技术细节
Downloads
54
Readme
介绍
一个基于 three.js 的方法库
使用 CWThree 您可更关注于业务逻辑功能
CWThree带来了什么:提供了一些高级效果、性能优化还减少了繁琐的编码过程,提高了可靠性和稳定性。
使用方式
力求极简,开箱即用,使用文档正在完善中...
由于是第一个版本,存在问题会比较多,请注意及时更新,我们会尽可能的保证向下兼容
// 这是一个生成气泡的例子
// 传入一个物体,传入一个用div实现的气泡
const bubble = CWThree.Bubble(Mesh, divDom);
// 插入场景中,完成
scene.add(bubble);
更新日志
three.js 为 148 版本,更新速度会略低于 three.js 的最新版本,以防止项目上出现不可预估的问题