diff options
| author | Michael McVady <michaelm@telnyx.com> | 2026-05-11 17:42:15 -0500 |
|---|---|---|
| committer | Michael McVady <michaelm@telnyx.com> | 2026-05-11 17:42:15 -0500 |
| commit | 3920c52ead6c17622fa826a5d451833101f4ad89 (patch) | |
| tree | 279e9d9020aa9c929b2795b997ce4c2c999d90f5 /app.py | |
| parent | 9c36c275dc445ef224904fa429d0136e3c3fce16 (diff) | |
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; |
