update index copy, update slider order

This commit is contained in:
Georg Fischer 2013-06-27 19:50:47 +02:00
parent 563a1fb05e
commit 6c7601190f

View File

@ -8,24 +8,24 @@
<body>
<article class="content">
<h1 class="headline">glitch images</h1>
<p>drop an image in the browser to modify it. this script corrupts some bytes in a jpg image. because of the way jpg encoding works, the corripted file still shows something. inspired by <a href="http://github.com/soulwire">soulwire</a>s <a href="http://blog.soulwire.co.uk/laboratory/flash/as3-bitmapdata-glitch-generator">experiment</a> in flash. this experiment was created by <a href="http://fishnation.de/">georg</a>. you can follow him on <a href="https://twitter.com/snorpey">twitter</a> or explore the source code on <a href="https://github.com/snorpey/triangulation">github</a>.</p>
<p>drop an image in the browser to modify it. this script corrupts some bytes in a jpg image. because of the way <a href="https://en.wikipedia.org/wiki/JPEG">jpg</a> encoding works, the corripted file still shows something. inspired by <a href="http://github.com/soulwire">soulwire</a>s <a href="http://blog.soulwire.co.uk/laboratory/flash/as3-bitmapdata-glitch-generator">experiment</a> in flash. this experiment was created by <a href="http://fishnation.de/">georg</a>. you can follow him on <a href="https://twitter.com/snorpey">twitter</a> or explore the source code on <a href="https://github.com/snorpey/jpg-glitch">github</a>.</p>
</article>
<div class="content" id="controls">
<div class="control-wrapper">
<label class="control-label" for="amount">glitch amount</label>
<input class="control-input" type="range" id="amount" min="0" max="100" value="50" />
</div>
<div class="control-wrapper">
<label class="control-label" for="seed">seed</label>
<input class="control-input" type="range" id="seed" min="0" max="100" value="50" />
</div>
<div class="control-wrapper">
<label class="control-label" for="quality">quality</label>
<input class="control-input" type="range" id="quality" min="0" max="100" value="50" />
</div>
<div class="control-wrapper">
<label class="control-label" for="offset">px offset</label>
<input class="control-input" type="range" id="offset" min="0" max="100" value="50" />
</div>
<div class="control-wrapper">
<label class="control-label" for="iterations">iterations</label>
<input class="control-input" type="range" id="iterations" min="1" max="20" value="5" />
<input class="control-input" type="range" id="iterations" min="1" max="50" value="5" />
</div>
<div class="control-wrapper">
<label class="control-label" for="quality">jpg quality</label>
<input class="control-input" type="range" id="quality" min="1" max="90" value="50" />
</div>
</div>
<div class="export-wrapper">