• 2022-12-23#yyds干货盘点#【愚公系列】2022年12月 微信小程序-three.js绘制多维旋转正方体
    (文章目录)前言Three.js是一款运行在浏览器中的3D引擎,你可以用它创建各种三维场景,包括了摄影机、光影、材质等各种对象。一个典型的Three.js程序至少要包括渲染器(R
  • 2022-11-30leetcode-160-easy
    IntersectionofTwoLinkedListsGiventheheadsoftwosinglylinked-listsheadAandheadB,returnthenodeatwhichthetwolistsintersect.Ifthetwolinke
  • 2022-09-06three.js实现鼠标拾取例子
    基本思路<script>varrenderer,scene,camera;varlight;varraycaster,//相机->鼠标的射线 mouse,//鼠标所在位置 actionObject;//选中的物体init();animation();
  • 2022-08-28threejs 实现3d柱状图
    import{useEffect,useRef}from'react';import{BoxGeometry,Mesh,AmbientLight,MeshPhongMaterial,MeshLambertMaterial,PerspectiveCamera,Scene,WebGLRe