GithubHelp home page GithubHelp logo

nirvananimbusa / pigeonsim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jawj/pigeonsim

0.0 1.0 0.0 2.58 MB

Fly! Courtesy of this small project linking Kinect -> OpenNI -> Processing -> WebSockets -> CoffeeScript -> Google Earth API

CSS 0.91% Processing 22.49% Java 2.03% Shell 0.03% CoffeeScript 65.10% JavaScript 9.44%

pigeonsim's Introduction

Pigeon Sim

Pigeon Sim simulates flight, using your arms as wings.

It links a Kinect via Simple-OpenNI, Processing, some GCSE trigonometry, WebSockets and CoffeeScript or a LeapMotion sensor to the Google Earth API and browser plugin.

It also introduces Spindlytext, a nice way to write in the sky with KML, which is used to display various kinds of live data.

There’s a brief write-up, with video clip, in New Scientist. It’s also in the Independent.

NCRM have also made a video which dives into the different parts of PigeonSim.

Installation

Pigeon Sim has been tested on Windows 7 and Mac OS 10.7. The Google Earth plugin seems somewhat more stable and less glitchy on Windows — but this may depend on your graphics card.

  • Install Simple-OpenNI, OpenNI and Processing, following the instructions provided by Simple-OpenNI. Note that on 64-bit Windows, you probably still want the 32-bit OpenNI libraries, since Processing comes with its own 32-bit Java.
  • Install the p5websocket Processing library (now included in this repo, along with the SimpleOpenNI one).
  • See instructions at the top of web_client/pigeonsim.coffee to get the web client running.
  • Plug in your Kinect, run the pigeonsim Processing sketch, and fly!
  • Alternatively, if you don’t have a Kinect, run the pigeon_dummy sketch. Click and drag to bank/steer, and press [up] to flap, [down] to dive, and [space] to go home. This mainly defeats the point, though.

A .bat file is included to start PigeonSim on Windows boot, just check your own paths and username in this file. Drop it into your Startup folder located in by typing shell:startup in the Start Menu (Windows 7).

LeapMotion Support

To enable LeapMotion Support append enableLeap=1 to the query string, which will allow you to control the sim with your hand movements. There is a video with instructions and an example of how to fly with a LeapMotion.

Licence

This code is released under the GPL v3. To negotiate GPL-incompatible uses, feel free to get in touch.

pigeonsim's People

Contributors

jawj avatar sjg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.