Adds a new Pyramid class that spans multiple Faces. A Pyramid instance replaces the grid previously passed into shows.
Pyramid has two Grid properties that are more useful for writing shows than the whole Pyramid itself:
face: this is a FaceMirror. it exposes the left face of the pyramid; everything drawn there will also be drawn on the right face (mirrored – each x coordinate is reversed)
panel: this is a PanelReplicator. it exposes a grid corresponding to a single panel; everything drawn there will be drawn on every panel on the pyramid (including panel 7)
Breaking changes
Shows are now constructed with the whole Pyramid instead of a single Grid. All existing shows have been updated:
⚠️ I don’t really know if this works. I’d like to write at least a few tests for pixel replication before leaving for the playa.
🔢 The new pyramid.face and pyramid.panel aren’t transparent to shows that work on individual pixels. pixels() will yield every pixel in matching cells on every panel being lit.
Adds a new
Pyramid
class that spans multipleFace
s. APyramid
instance replaces thegrid
previously passed into shows.Pyramid
has twoGrid
properties that are more useful for writing shows than the wholePyramid
itself:face
: this is aFaceMirror
. it exposes the left face of the pyramid; everything drawn there will also be drawn on the right face (mirrored – each x coordinate is reversed)panel
: this is aPanelReplicator
. it exposes a grid corresponding to a single panel; everything drawn there will be drawn on every panel on the pyramid (including panel 7)Breaking changes
Shows are now constructed with the whole
Pyramid
instead of a singleGrid
. All existing shows have been updated:Known issues
⚠️ I don’t really know if this works. I’d like to write at least a few tests for pixel replication before leaving for the playa.
🔢 The new
pyramid.face
andpyramid.panel
aren’t transparent to shows that work on individual pixels.pixels()
will yield every pixel in matching cells on every panel being lit.