Starfield with Leap Motion
This work is 2-dimensional starfield built with p5.js library.
With 'Leap Motion' device, you can make and move a black hole which pulls moving stars near it.
Basically 'Leap Motion' detects your both hands separately. In this project, 'Leap Motion' detects your sing hand's palm and the palm's 2-dimensional coordination is allocated to the black hole's centroid.
If 'Leap Motion' device is not connected to your computer, stars will just travel in the space and a black hole doesn't show itself.
Dec 11, 2018