-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
46 lines (40 loc) · 1 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Clock Face and Sizing
clock_style = 'standard'
clock_face = False
clock_face_edge_color = 'white'
clock_face_face_color = 'none'
clock_face_line_width = 2
# Quarter Hour Markers
add_quarter_hour_markers = True
quarter_hour_line_color = 'black'
quarter_hour_line_length = 2.3
quarter_hour_line_width = 1.6
quarter_hour_line_offset = 0
# 5 Minute Markers
add_5_minute_markers = True
five_minute_color = 'black'
five_minute_line_length = 1.3
five_minute_line_width = 1.1
five_minute_line_offset = 0
# 1 Minute Markers
add_minute_markers = False
minute_line_color = 'white'
minute_line_length = 0.05
minute_line_width = 0.25
minute_line_offset = 0.95
# Hands
hand_color = 'black'
hour_hand_length = 7.25
hour_hand_width = 2
minute_hand_length = 11
minute_hand_width = 1.4
# Layout and Size
units = 'mm' # options are inches, feet, cm, or mm
grid_rows, grid_cols = 24, 30
clock_diameter = 30
spacing = 10
outside_spacing = 20
background_color = 'white'
randomize_clocks = True
# Tiles for Matrix Mapping
leds_per_tile = 3