mwahahah
This commit is contained in:
parent
c5a62cfa1d
commit
a47836a39a
3 changed files with 180 additions and 35 deletions
30
sim.html
30
sim.html
|
|
@ -8,14 +8,28 @@
|
|||
<body>
|
||||
<h1>Mandelbrot fixed-point test</h1>
|
||||
|
||||
<h2>Float</h2>
|
||||
<canvas id="float" width="256" height="256"></canvas>
|
||||
|
||||
<h2>Fixed-point imul</h2>
|
||||
<canvas id="imul" width="256" height="256"></canvas>
|
||||
|
||||
<h2>Fixed-point log</h2>
|
||||
<canvas id="log" width="256" height="256"></canvas>
|
||||
<table>
|
||||
<tr>
|
||||
<th>Float</th>
|
||||
<th>Fixed-point imul</th>
|
||||
<th>Fixed-point log</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><canvas id="float" width="256" height="256"></canvas></td>
|
||||
<td><canvas id="imul" width="256" height="256"></canvas></td>
|
||||
<td><canvas id="log" width="256" height="256"></canvas></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=3>
|
||||
<button id="zoom-in">Zoom in</button>
|
||||
<button id="zoom-out">Zoom out</button>
|
||||
<button id="left">Left</button>
|
||||
<button id="right">Right</button>
|
||||
<button id="up">Up</button>
|
||||
<button id="down">Down</button>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<script async type="module" src="sim.js"></script>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue