摘要: javascript删除数组中某个元素的方法 var arr = new Array(6) arr[0] = "George" arr[1] = "John" arr[2] = "Thomas" arr[3] = "James" arr[4] = "Adrew" arr[5] = "Martin" 阅读全文
posted @ 2020-10-25 22:06 newmiracle宇宙 阅读(404) 评论(0) 推荐(0)
摘要: pixijs制作3D效果 const app = new PIXI.Application({ width: 750, height: 1206 }); document.body.appendChild(app.view); var camera = new PIXI.projection.Cam 阅读全文
posted @ 2020-10-25 15:58 newmiracle宇宙 阅读(1398) 评论(0) 推荐(0)
摘要: threejs 简单的demo 因为CSS3 写3D 会存在各种兼容性问题 用pixijs又没可视化界面 所以用threejs写3D 最稳妥 <!DOCTYPE html> <html> <head> <title></title> <style> canvas { width: 100%; hei 阅读全文
posted @ 2020-10-25 12:35 newmiracle宇宙 阅读(1963) 评论(0) 推荐(0)
摘要: sublime自定义工程文件 有时候sublime目录太多 会卡 所以需要自定义工程文件 保存工程文件的方法 tool里有个 save project as 如果要添加 直接拖进就行 删除 删除有点贱有remove flod from project 阅读全文
posted @ 2020-10-25 09:29 newmiracle宇宙 阅读(84) 评论(0) 推荐(0)