SimPixel

Adam Haile edited this page Jun 23, 2017 · 2 revisions

class bibliopixel.drivers.SimPixel.SimPixel

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/.

__init__(num, port=1337, layout=None)

  • 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.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.