Render Groups

  • Leds are organized in render groups.
  • Render groups with the same name are all active at the same time.
  • A render group has a meassurement point which is determined from the svg node, where the render group is defined: The midpoint of the bounding box of the svg node.

Example

Pentagonum

In this lamp we have leds at the edge facing to the front and facing inside. We set multiple render groups:

  • On each individual led facing outside, we set the render groups all and outer, so we can turn this leds on individually with these render groups. Inside we have all and inner accordingly.
  • We grouped all 5 edges of the leds facing outside together and set the render groups edge and outerEdge, so we can set colors on edges for a nice effect. Inside we have edge and innerEdge accordingly.
  • We then grouped these groups to two groups with render groups outerFull/innerFull to turn on all leds facing inside/outside.
  • At the end we grouped the whole lamp together and added another render group full, so we can turn on all leds with the same color.