摘要:
加载各种模型 <canvas id="mainCanvas"></canvas> <script type="importmap"> { "imports": { "three": "./js/build/three.module.js", "three/addons/": "./js/jsm/" 阅读全文
posted @ 2024-05-23 16:50
carol2014
阅读(543)
评论(0)
推荐(0)
摘要:
init.js增加共用方法 function addMaterialSettings(gui, controls, material, folderName = "Material") { controls.material = material; const folder = gui.addFol 阅读全文
posted @ 2024-05-23 16:46
carol2014
阅读(72)
评论(0)
推荐(0)
摘要:
Group <canvas id="mainCanvas"></canvas> <script type="importmap"> { "imports": { "three": "./js/build/three.module.js", "three/addons/": "./js/jsm/" } 阅读全文
posted @ 2024-05-23 16:27
carol2014
阅读(27)
评论(0)
推荐(0)
摘要:
mesh之位置、缩放、平移、旋转属性 <canvas id="mesh-properties"></canvas> <script type="importmap"> { "imports": { "three": "./js/build/three.module.js", "three/addon 阅读全文
posted @ 2024-05-17 11:47
carol2014
阅读(123)
评论(0)
推荐(0)
摘要:
开发过程中常常会遇到 echarts 图由于容器隐藏导致图表不显示问题,最简单的办法就是给容器元素加上宽度和高度。 容器加上固定的宽度和高度 <div id="res" style="height: 450px;width:1200px"></div> 然而在实际开发中某些场景下,要求图表宽度100 阅读全文
posted @ 2024-05-15 15:18
carol2014
阅读(951)
评论(0)
推荐(0)
摘要:
最近发现了个问题:某个ajax post请求查询参数数量动态变化有200-250000个,当参数超过一定数量N时(N大约1000),post传到后台接的参数就只有N个,多出的参数都没附到请求中,这也是奇怪的事情,浏览器对参数的个数有限制。 js const payload = { date: "20 阅读全文
posted @ 2024-05-15 12:00
carol2014
阅读(244)
评论(0)
推荐(0)
摘要:
静态场景 <canvas id="mainCanvas"></canvas> <script type="importmap"> { "imports": { "three": "./js/build/three.module.js", "three/addons/": "./js/jsm/" } 阅读全文
posted @ 2024-05-09 11:31
carol2014
阅读(136)
评论(0)
推荐(0)
摘要:
需要写一段合并时间区间的代码,写个demo记录下 <?php $arr = [ ["2024-04-16 11:25:46", "2024-04-16 12:19:21"], ["2024-04-16 03:14:06", "2024-04-16 10:13:21"], ["2024-04-16 1 阅读全文
posted @ 2024-05-02 11:21
carol2014
阅读(39)
评论(0)
推荐(0)
浙公网安备 33010602011771号