【文件属性】:
文件名称:leap_motion:飞跃运动集成的游乐场
文件大小:14KB
文件格式:ZIP
更新时间:2021-07-04 14:47:23
JavaScript
Leap Motion 实验
这是一个 Playground 应用程序,用于试验 Leap Motion 的 。 该应用程序是一个由 NodeJS 服务器提供的静态 HTML5、CSS 和 Javascript 站点。 Javascript 文件由 Grunt 任务连接和缩小,并从公共目录提供。 请参阅下面的安装说明。
这是它的实际运行情况:
先决条件
节点
新产品管理
安装
安装在找到的 Leap Motion 控制器软件。
克隆 repo 并安装其依赖项:
$ git clone http://github.com/Diasporism/leap_motion.git
$ cd leap_motion/
$ npm install
插入 Leap Motion 控制器。
连接和缩小 Javascript 文件
$ grunt
运行服务器
只需键入...
$ node serve
【文件预览】:
leap_motion-master
----public()
--------index.html(2KB)
--------styles()
--------images()
--------scripts()
--------templates()
----server.js(487B)
----Gruntfile.js(843B)
----Procfile(20B)
----README.md(2KB)
----.gitignore(30B)
----package.json(729B)