上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 25 下一页
摘要: 加载各种模型 <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)
摘要: 很久没写上传文件的功能,偶然在 laravel 中用 jquery ajax 发送 FormData 对象居然报错了,记录下解决方法。 路由 Route::get('test/fileUpload', [TestController::class, 'fileUpload']); Route::po 阅读全文
posted @ 2024-04-16 16:02 carol2014 阅读(76) 评论(0) 推荐(0)
摘要: 仍然是 在图片上特定区域根据数值显示不同的颜色 的需求。拖了这么久,最终的解决方案终于定下来了:使用aoi检测设备导出的坐标来标定需显示数值和颜色的区域,如此一来就不需要人操作UI界面来标定数值的显示区域。最终使用echarts显示的方法有2种: 地图 map + 使用坐标标记区域且区域有 name 阅读全文
posted @ 2024-04-15 16:31 carol2014 阅读(506) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 25 下一页