摘要: 1. 重点代码 // 3. 添加物体 打造酷炫三角形 for (let i = 0; i < 50; i++) { const geometry = new THREE.BufferGeometry() const positionArray = new Float32Array(9) // 每个三 阅读全文
posted @ 2022-08-02 16:45 yulingjia 阅读(60) 评论(0) 推荐(0) 编辑
摘要: <!-- 基础最终代码 --> <template> <div class="home"> <div id="threeContainer" class="threeContainer"></div> </div> </template> <script> import * as THREE fro 阅读全文
posted @ 2022-08-02 09:46 yulingjia 阅读(24) 评论(0) 推荐(0) 编辑