Open Source Eyebrow Pong
Guide to installing and running the open source version of eyebrow pong.
This open source iteration of eyebrow pong allows two users to play pong against one another on one of the players screens. It requires that player to facetime the person to see what is going on, (not ideal! but) this is an example of how to incorporate internet of things through the use shiftr.io within Processing.
Setup
Download and Install FaceOSC https://github.com/kylemcdonald/ofxFaceTracker/releases
On Mac, to override your security settings and open the app, find FaceOSC via Finder (and not launchpad) control-click the app icon, then choose Open from the shortcut menu.
Download & Install Processing: https://processing.org/download/
Open Processing,
Navigate to 'Sketch>Import Library> Add Library'.
Search for 'MQTT'.
Select 'MQTT' library (Author 'Joel Gaehwiler') and click Install.
Search for 'P5'.
Select Library 'ControlP5' (Author 'Andreas Schlegel') and click Install.
Select Library 'oscP5' (Author 'Adreas Schlegel') and click Install.
Control - Player 1
Open FaceOSC
Copy & Paste the Player 1 sketch here into Processing.
Video Call Player 2 on your phone or seperate device from one running programs (not on your laptop)!
Click Run (play button).
You are player 1 (right), use eyebrows to control pong.
Control - Player 2
Open FaceOSC
Copy & Paste the Player 2 sketch here into Processing.
Video Call Player 1 on your phone or seperate device from one running programs (not on your laptop)!
Click Run (play button).
You are player 2 (left), use eyebrows to control pong.
Credit for the original pong game on processing by instructables user eprittinen.
Last updated