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

Function find_red_anchor_point

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

Source from the content-addressed store, hash-verified

149
150# Red is defined by this instruction tutorial: https://voidstar.dozuki.com/Guide/Chromance+Assembly+Instructions/6
151def find_red_anchor_point() -> list[Point]:
152 hexagon_angles = [
153 HexagonAngle.LEFT_UP,
154 HexagonAngle.LEFT_UP,
155 HexagonAngle.UP,
156 HexagonAngle.RIGHT_UP,
157 ]
158 points = gen_points(hexagon_angles, LED_PER_STRIP, Point(0, 0), add_last=True)
159 return points
160
161def find_green_anchore_point() -> list[Point]:
162 hexagon_angles = [

Callers 1

gen.pyFile · 0.85

Calls 2

gen_pointsFunction · 0.85
PointClass · 0.70

Tested by

no test coverage detected