diff options
Diffstat (limited to 'app.py')
| -rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ TEMPLATE_STR = """<!DOCTYPE html> if (x * x + y * y > radius * radius) return; - var h = ((Math.atan2(y, x) * 180 / Math.PI) + 360) % 360; + var h = ((Math.atan2(y, x) * 180 / Math.PI) + 90 + 360) % 360; var s = Math.min(Math.sqrt(x * x + y * y) / radius, 1); var c = s, X = c * (1 - Math.abs((h / 60) % 2 - 1)), m = 0.5 - c / 2; var R, G, B; |
