Package pixelTeleporter.library
Class ScreenShape
- java.lang.Object
-
- pixelTeleporter.library.ScreenLED
-
- pixelTeleporter.library.ScreenShape
-
public class ScreenShape extends ScreenLED
Allows the use of an arbitrary 2D or 3D shape to represent an LEDx,y,z are positional coordinates in world space, and index is the LED's index in the incoming RGB pixel data stream.
To create a ScreenShape for your sketch, use the PixelTeleporter class method ScreenShapeFactory().
-
-
Constructor Summary
Constructors Constructor Description ScreenShape(PixelTeleporter parent, PShape s)ScreenShape(PixelTeleporter parent, PShape s, int opacity)
-
Method Summary
Modifier and Type Method Description voiddraw()voiddraw2D()voiddraw3D()voidsetOpacity(int o)Set opacity of current shape.-
Methods inherited from class pixelTeleporter.library.ScreenLED
getBrightness, getIndex, renderAssist, setIndex
-
-
-
-
Constructor Detail
-
ScreenShape
public ScreenShape(PixelTeleporter parent, PShape s, int opacity)
-
ScreenShape
public ScreenShape(PixelTeleporter parent, PShape s)
-
-