summaryrefslogtreecommitdiff
path: root/julia/index.html
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-06-08 01:57:28 -0700
committerLogan Hunt <loganhunt@simponic.xyz>2022-06-08 01:57:28 -0700
commit638acfc48f4ecea297123936eb2483fa9b712c7d (patch)
tree8661f4e0748e532404ecb94a1c3ac592c01e0f25 /julia/index.html
parent9caedf1aac9b3685cad8439d52f0c628a47979eb (diff)
downloadsimponic.xyz-638acfc48f4ecea297123936eb2483fa9b712c7d.tar.gz
simponic.xyz-638acfc48f4ecea297123936eb2483fa9b712c7d.zip
Better mouse movement; add custom input box
Diffstat (limited to 'julia/index.html')
-rw-r--r--julia/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/julia/index.html b/julia/index.html
index 312e3f6..5b4c90d 100644
--- a/julia/index.html
+++ b/julia/index.html
@@ -36,11 +36,11 @@
<input orient="vertical" type="range" min="-1000" max="1000" value="0" id="imaginarySlider" class="verticalSlider">
<input type="range" min="-1000" max="1000" value="0" id="realSlider">
<br>
- imaginary: <span id="imag-val"></span>
- <button id="animate-imag" onclick="startImagAnim()">Animate</button>
+ imaginary: <input id="imag-val" size="10" type="number" step="0.001"></input>
+ <button id="animate-imag" onclick="startAnim('animate-imag', 'ci')">Animate</button>
<br>
- real: <span id="real-val"></span>
- <button id="animate-real" onclick="startRealAnim()">Animate</button>
+ real: <input id="real-val" size="10" type="number" step="0.001"></input>
+ <button id="animate-real" onclick="startAnim('animate-real', 'cr')">Animate</button>
<br>
powered by <a href="https://github.com/gpujs/gpu.js">gpu.js</a>
</div>