-
Notifications
You must be signed in to change notification settings - Fork 56
SimPixel
Adam Haile edited this page Jun 23, 2017
·
2 revisions
This class sends information to a WebGL program running locally in a browser page. You can see it run by loading the web page at http://simpixel.io/.
-
num
- Number of pixels to be displayed. -
port
- Optional: the port number to use. 1337 is the default used on http://simpixel.io/ -
pixel_positions
- Optional: A flat list of [x,y,z] (integer) coordinates for each pixel in the display. The Layout used will automatically generate and pass in this value but you can override it by providing a value here. Using the pixel_positions_from_* methods in bibliopixel.layout.geometry is the easiest way to generate this value.