about summary refs log tree commit diff stats
path: root/html/apps/mandelbrot-silhouette.mu.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2024-10-17 09:39:34 -0700
committerKartik K. Agaram <vc@akkartik.com>2024-10-17 09:39:34 -0700
commit50d6c374de23adebc7a3a2742c6c20dfd87010fb (patch)
treebd68bc621e1183c18b200fca373c9f39bc18000f /html/apps/mandelbrot-silhouette.mu.html
parent799390e1eac98fcf40636dace69729063a004840 (diff)
downloadmu-main.tar.gz
fix other mandelbrot variants main
Diffstat (limited to 'html/apps/mandelbrot-silhouette.mu.html')
-rw-r--r--html/apps/mandelbrot-silhouette.mu.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/apps/mandelbrot-silhouette.mu.html b/html/apps/mandelbrot-silhouette.mu.html
index 1ed40805..8c933466 100644
--- a/html/apps/mandelbrot-silhouette.mu.html
+++ b/html/apps/mandelbrot-silhouette.mu.html
@@ -175,8 +175,8 @@ if ('onhashchange' in window) {
 <span id="L113" class="LineNr">113 </span><span class="Delimiter">}</span>
 <span id="L114" class="LineNr">114 </span>
 <span id="L115" class="LineNr">115 </span><span class="muComment"># Scale (x, y) pixel coordinates to a complex plane where the viewport width</span>
-<span id="L116" class="LineNr">116 </span><span class="muComment"># ranges from -2 to +2. Viewport height just follows the viewport's aspect</span>
-<span id="L117" class="LineNr">117 </span><span class="muComment"># ratio.</span>
+<span id="L116" class="LineNr">116 </span><span class="muComment"># ranges from (scene-cx - scene-width/2) to (scene-cx + scene-width/2).</span>
+<span id="L117" class="LineNr">117 </span><span class="muComment"># Viewport height just follows the viewport's aspect ratio.</span>
 <span id="L118" class="LineNr">118 </span>
 <span id="L119" class="LineNr">119 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='mandelbrot-silhouette.mu.html#L119'>viewport-to-real</a></span> x: int, width: int<span class="PreProc"> -&gt; </span>_/<span class="Constant">xmm0</span>: float <span class="Delimiter">{</span>
 <span id="L120" class="LineNr">120 </span>  <span class="muComment"># (x - width/2)*4/width</span>