Reorient display
This reflects the way the FireStar sits on the ground.
This commit is contained in:
parent
9dc6098ff3
commit
fef5385da7
@ -10,7 +10,7 @@ import phue, pygame, colorsys
|
||||
viewsize = 600
|
||||
shrink = 0.9
|
||||
vertices = [(viewsize*(1 + shrink*x)/2, viewsize*(1 + shrink*y)/2) for x, y in
|
||||
[(0, 0)] + [(cos(-n*pi/5), sin(-n*pi/5)) for n in range(10)] + [(0, 0)]
|
||||
[(0, 0)] + [(sin(n*pi/5), -cos(n*pi/5)) for n in range(10)] + [(0, 0)]
|
||||
]
|
||||
|
||||
# edges as vertex pairs. FireStar will rest on vertices 6 (A), 5 (B), 7 (C)
|
||||
|
Loading…
Reference in New Issue
Block a user