diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-01-23 10:10:19 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-01-23 10:10:19 -0500 |
| commit | 3a51572e8a6628f90e73e2ab0bca52a98d9540e7 (patch) | |
| tree | 7187b65938780e22d091f5738636cf8b34f1ea3c /shader-api.html | |
| parent | 9c9a700e268af6e3c6d4ed140d29d56968641dc7 (diff) | |
more shuffling
Diffstat (limited to 'shader-api.html')
| -rw-r--r-- | shader-api.html | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/shader-api.html b/shader-api.html index dc22d10..ba8530e 100644 --- a/shader-api.html +++ b/shader-api.html @@ -22,15 +22,15 @@ a { color: #00f; } <!-- <div id="gallery"> - <div id="gallery-form"> - <form id="gallery-search"> - <input type="text" id="dumpfm-search-query" value="duck bill"> - <button id="gallery-search">DUMP SEARCH</button> - </form> - <button id="gallery-random">IM RANDOM</button> - <span class="status"></span> - </div> - <div id="gallery-images"></div> + <div id="gallery-form"> + <form id="gallery-search"> + <input type="text" id="dumpfm-search-query" value="duck bill"> + <button id="gallery-search">DUMP SEARCH</button> + </form> + <button id="gallery-random">IM RANDOM</button> + <span class="status"></span> + </div> + <div id="gallery-images"></div> </div> --> @@ -57,15 +57,15 @@ a { color: #00f; } <input type="text" id="url" value="img/1376516658960-dumpfm-DoritoWitch-TimeFLyTrans0001.png"> <input type="text" id="username" placeholder="username"> <input type="text" id="shader-name" placeholder="shader name"> - <br> - <br> + <br> + <br> - <textarea id="shader"></textarea> - <br> - <button id="save-shader"><b>save shader</b></button> - <button id="pause">pause</button> - <button id="reset">reset</button> - <br> + <textarea id="shader"></textarea> + <br> + <button id="save-shader"><b>save shader</b></button> + <button id="pause">pause</button> + <button id="reset">reset</button> + <br> </div> @@ -102,16 +102,16 @@ var shader_gallery_template = $("#shader-gallery-template").html() $(init) function init(){ - $("#url").change(load) - $("#reset").click(reset) - $("#pause").click(pause) + $("#url").change(load) + $("#reset").click(reset) + $("#pause").click(pause) user.init() shader_gallery.init() - document.getElementById('shader').addEventListener('input', shader_build); + document.getElementById('shader').addEventListener('input', shader_build); - requestAnimationFrame(animate) + requestAnimationFrame(animate) } |
