From fef5385da77cf21e9d272cb345cbcf50f1389c07 Mon Sep 17 00:00:00 2001 From: Aaron Fenyes Date: Sun, 29 Sep 2019 16:28:28 +0200 Subject: [PATCH] Reorient display This reflects the way the FireStar sits on the ground. --- interactions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interactions.py b/interactions.py index a002dc7..ea14c44 100644 --- a/interactions.py +++ b/interactions.py @@ -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)