diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2024-10-17 09:19:38 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2024-10-17 09:19:38 -0700 |
commit | 0805bd7a59f5f1d232ef5a440d3e4648617c78c3 (patch) | |
tree | bfb0da1a9689021a2d500a2c55f1cb4689cf8cf8 /html | |
parent | b44567ba2358847014720278eb946d33e4f2179d (diff) | |
download | mu-0805bd7a59f5f1d232ef5a440d3e4648617c78c3.tar.gz |
fix a comment
Diffstat (limited to 'html')
-rw-r--r-- | html/apps/mandelbrot.mu.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/apps/mandelbrot.mu.html b/html/apps/mandelbrot.mu.html index d1ac6068..b14d4ebc 100644 --- a/html/apps/mandelbrot.mu.html +++ b/html/apps/mandelbrot.mu.html @@ -195,8 +195,8 @@ if ('onhashchange' in window) { <span id="L132" class="LineNr">132 </span><span class="Delimiter">}</span> <span id="L133" class="LineNr">133 </span> <span id="L134" class="LineNr">134 </span><span class="muComment"># Scale (x, y) pixel coordinates to a complex plane where the viewport width</span> -<span id="L135" class="LineNr">135 </span><span class="muComment"># ranges from -2 to +2. Viewport height just follows the viewport's aspect</span> -<span id="L136" class="LineNr">136 </span><span class="muComment"># ratio.</span> +<span id="L135" class="LineNr">135 </span><span class="muComment"># ranges from (scene-cx - scene-width/2) to (scene-cx + scene-width/2).</span> +<span id="L136" class="LineNr">136 </span><span class="muComment"># Viewport height just follows the viewport's aspect ratio.</span> <span id="L137" class="LineNr">137 </span> <span id="L138" class="LineNr">138 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='mandelbrot.mu.html#L138'>viewport-to-real</a></span> x: int, width: int, scene-cx: float, scene-width: float<span class="PreProc"> -> </span>_/<span class="Constant">xmm0</span>: float <span class="Delimiter">{</span> <span id="L139" class="LineNr">139 </span> <span class="muComment"># 0 in the viewport goes to scene-cx - scene-width/2 </span> |