npm install --save threejs-miniprogram 安装完成之后在微信开发者工具中点击构建 npm。 导入小程序适配版本的 Three.js import{createScopedThreejs}from'threejs-miniprogram'Page({onReady(){wx.createSelectorQuery().select('#webgl').node()
"threejs-miniprogram": "0.0.2" } } 51 changes: 51 additions & 0 deletions 51 example/project.config.json Original file line numberDiff line numberDiff line change @@ -0,0 +1,51 @@ { "description": "Project configuration file", "packOptions": { "ignore": [] }, "setting": { ...
threejs-miniprogram-tn ThreeJS adapter for WeChat MiniProgram tuoninapublished 0.162.4 • a year agopublished version 0.162.4, a year agothree-weapp-tn JavaScript 3D library tuoninapublished 0.162.8 • a year agopublished version 0.162.8, a year ago...
npm install --save threejs-miniprogram 安装完成之后在微信开发者工具中点击构建 npm。 导入小程序适配版本的 Three.js import{createScopedThreejs}from'threejs-miniprogram'Page({onReady() { wx.createSelectorQuery() .select('#webgl') .node() .exec((res) =>{constcanvas = res[0].node// 创建...
peel-unused-css-in-miniprogram remove unused class in the app.wxss of weixin-miniprogram ktlee published1.0.4•6 years agopublished version1.0.4,6 years ago one-timer 思考如下问题: 当我们需要延迟执行代码,这种情况一多,我们就需要同时创建很多个定时器。当我们的页面同时持有很多定时器的时候,这会...
第二步:在doc窗口输入 npminit 第三步:在项目根目录下生成一个package.json文件,该文件包含了项目的元信息和依赖关系等 image.png 第四步:依次在doc窗口输入,会自动执进行下载 npm install miniprogram-barrage npm install miniprogram-recycle-view npm install threejs-miniprogram ...
import{mergeRollupOptions}from'platformize/dist-plugin';exportdefaultmergeRollupOptions({input:['./miniprogram/pages/index/index.ts'],output:{format:'cjs',dir:'miniprogram/',entryFileNames:'pages/[name]/[name].js',},},{minify:process.env.BUILD==='production'},); ...
GlobeStream3D是基于threejs开发的可视化3D地球纯js组件,包括迁徙飞线,涟漪,支持react vue angular等前端框架 threejs 3d earth flyline js 飞线 javascriptam• 1.5.8 • 3 days ago • 0 dependents • MITpublished version 1.5.8, 3 days ago0 dependents licensed under $MIT 459 @vant/area-data...
wechat-miniprogram •3.0.1•a year ago•37dependents•MITpublished version3.0.1,a year ago37dependentslicensed under $MIT 49,936 earth-flyline GlobeStream3D是基于threejs开发的可视化3D地球纯js组件,包括迁徙飞线,涟漪,支持react vue angular等前端框架 ...
threejs-miniprogramThree.js 小程序 WebGL 的适配版本。使用可参考 example 目录下的示例项目或参照以下流程:通过npm 安装 npm install --save threejs-miniprogram 安装完成之后在微信开发者工具中点击构建 npm。导入小程序适配版本的 Three.js import {createScopedThreejs} from 'threejs-miniprogram' Page({ on...