Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/surjikal/kiwi-move-emulator
An emulator for the kiwi move from @kiwiwearables.
https://github.com/surjikal/kiwi-move-emulator
Last synced: about 2 months ago
JSON representation
An emulator for the kiwi move from @kiwiwearables.
- Host: GitHub
- URL: https://github.com/surjikal/kiwi-move-emulator
- Owner: surjikal
- License: mit
- Created: 2013-11-17T21:17:51.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-17T21:30:07.000Z (about 11 years ago)
- Last Synced: 2024-04-16T00:57:57.448Z (8 months ago)
- Language: CoffeeScript
- Size: 105 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Kiwi Move Emulator
==================An emulator for the kiwi move from @kiwiwearables.
### Usage
```coffeescript
dgram = require 'dgram'
{KiwiMove} = require './kiwi-move'socket = dgram.createSocket 'udp4'
process.on 'exit', -> socket.close()kiwi = new KiwiMove {deviceId:, socket}
setInterval (->
kiwi.accelerometer {x:16.0, y:0.0, z:-16.0}
kiwi.gyroscope {x:-250, y:0, z:250}
), 33
```