about summary refs log tree commit diff stats
path: root/apps/mandelbrot-silhouette.mu
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mandelbrot-silhouette.mu')
-rw-r--r--apps/mandelbrot-silhouette.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/mandelbrot-silhouette.mu b/apps/mandelbrot-silhouette.mu
index 0d9a137c..14c6e397 100644
--- a/apps/mandelbrot-silhouette.mu
+++ b/apps/mandelbrot-silhouette.mu
@@ -113,8 +113,8 @@ fn mandelbrot-y x: float, y: float, imaginary: float -> _/xmm3: float {
 }
 
 # Scale (x, y) pixel coordinates to a complex plane where the viewport width
-# ranges from -2 to +2. Viewport height just follows the viewport's aspect
-# ratio.
+# ranges from (scene-cx - scene-width/2) to (scene-cx + scene-width/2).
+# Viewport height just follows the viewport's aspect ratio.
 
 fn viewport-to-real x: int, width: int -> _/xmm0: float {
   # (x - width/2)*4/width