FastLED 3.9.15
|
Generates the hexegon using math.
Classes | |
class | HexagonAngle |
class | Point |
Functions | |
list[Point] | find_green_anchore_point () |
list[Point] | find_red_anchor_point () |
list[Point] | gen_points (list[HexagonAngle] input, int leds_per_strip, Point startPos, list[int]|None exclude=None, bool add_last=False) |
list[Point] | generate_black_points () |
list[Point] | generate_blue_points () |
list[Point] | generate_green_points () |
list[Point] | generate_red_points () |
None | main () |
Point | next_point (Point pos, HexagonAngle angle, float space) |
None | simple_test () |
float | toRads (float angle) |
None | two_angle_test () |
None | two_angle_test2 () |
None | unit_test () |
Variables | |
BLACK_ANCHOR_POINT = Point(0,0) | |
BLUE_ANCHOR_POINT = Point(0, 0) | |
list[Point] | GREEN_ANCHOR_POINT = find_green_anchore_point()[-1] |
float | LED_DIAMETER = SPACE_PER_LED / 4 |
int | LED_PER_STRIP = 14 |
bool | MIRROR_X = True |
list[Point] | RED_ANCHOR_POINT = find_red_anchor_point()[-1] |
int | SMALLEST_ANGLE = 360 / 6 |
float | SPACE_PER_LED = 30.0 |