MCPcopy Create free account
hub / github.com/FastLED/FastLED / generate_red_points

Function generate_red_points

examples/Chromancer/gen.py:177–189  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175
176
177def generate_red_points() -> list[Point]:
178 starting_point = RED_ANCHOR_POINT.copy()
179 hexagon_angles = [
180 HexagonAngle.UP,
181 HexagonAngle.LEFT_UP,
182 HexagonAngle.LEFT_DOWN,
183 HexagonAngle.DOWN,
184 HexagonAngle.RIGHT_DOWN,
185 HexagonAngle.UP,
186 HexagonAngle.LEFT_UP
187 ]
188 points = gen_points(hexagon_angles, LED_PER_STRIP, starting_point, exclude=[5])
189 return points
190
191
192def generate_black_points() -> list[Point]:

Callers 1

unit_testFunction · 0.85

Calls 2

gen_pointsFunction · 0.85
copyMethod · 0.45

Tested by

no test coverage detected