FastLED 3.9.15
Loading...
Searching...
No Matches
gen.py File Reference

Go to the source code of this file.

Classes

class  gen.HexagonAngle
 
class  gen.Point
 

Namespaces

namespace  gen
 

Functions

list[Pointgen.find_green_anchore_point ()
 
list[Pointgen.find_red_anchor_point ()
 
list[Pointgen.gen_points (list[HexagonAngle] input, int leds_per_strip, Point startPos, list[int]|None exclude=None, bool add_last=False)
 
list[Pointgen.generate_black_points ()
 
list[Pointgen.generate_blue_points ()
 
list[Pointgen.generate_green_points ()
 
list[Pointgen.generate_red_points ()
 
None gen.main ()
 
Point gen.next_point (Point pos, HexagonAngle angle, float space)
 
None gen.simple_test ()
 
float gen.toRads (float angle)
 
None gen.two_angle_test ()
 
None gen.two_angle_test2 ()
 
None gen.unit_test ()
 

Variables

 gen.BLACK_ANCHOR_POINT = Point(0,0)
 
 gen.BLUE_ANCHOR_POINT = Point(0, 0)
 
list[Pointgen.GREEN_ANCHOR_POINT = find_green_anchore_point()[-1]
 
float gen.LED_DIAMETER = SPACE_PER_LED / 4
 
int gen.LED_PER_STRIP = 14
 
bool gen.MIRROR_X = True
 
list[Pointgen.RED_ANCHOR_POINT = find_red_anchor_point()[-1]
 
int gen.SMALLEST_ANGLE = 360 / 6
 
float gen.SPACE_PER_LED = 30.0