Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```