26 Commits

Author SHA1 Message Date
Georg Fischer
e14be9efdc remove hardcoded image url from script 2013-11-29 22:17:18 +01:00
Georg Fischer
2810d7ac76 update ui;
add open and close button to ui;
close intro when new image is uploaded;
2013-11-29 22:09:10 +01:00
Georg Fischer
6a1f4fda80 update user interface 2013-11-29 22:00:59 +01:00
Georg Fischer
4f2370aa30 add twitter, facebook and reddit sharing buttons 2013-11-02 12:33:06 +01:00
Georg Fischer
6579fdaadb add @imgur sharing. thanks everyone on @reddit and r/glitch_art for using this! 2013-11-01 18:32:03 +01:00
Georg Fischer
65be45c979 rip out re encoding code because it does not solve the problem. 2013-09-28 14:26:19 +02:00
Georg Fischer
f47c26c09e add re-encoding of jpg-images because of progressive rendering 2013-09-28 14:19:37 +02:00
Georg Fischer
939cb3545f update img attribute 2013-09-28 13:30:17 +02:00
Georg Fischer
5bc03c7ce7 add image size constraint
constrain image file size and scale down image if necessary
2013-09-28 13:29:35 +02:00
Georg Fischer
5640d7a10b small speed improvements
- only get the imagedata once, when the image first loads
- only clear the canvas after image load
2013-09-28 12:47:56 +02:00
Georg Fischer
7b00c02a06 update control selector 2013-09-26 20:38:09 +02:00
Georg Fischer
9d148d2529 add support for number input fields and keep sliders and numbers in
sync
2013-09-26 20:34:32 +02:00
Georg Fischer
a10b5d8ffe remove html5slider polyfill
this polyfill is no longer needed since firefox 23 added support for
input sliders: https://bugzilla.mozilla.org/show_bug.cgi?id=344618#c56
(and i don't really care much for older firefox versions)

thanks @fryn for a great piece of code!
2013-09-26 20:32:11 +02:00
Georg Fischer
52bf7e10b3 add almond js library 2013-09-20 21:53:29 +02:00
Georg Fischer
9e9452d057 add random button 2013-09-20 21:38:17 +02:00
Georg Fischer
f4aa6dc224 show exact slider values for better fine tuning 2013-09-20 20:50:27 +02:00
Georg Fischer
452f82bdcc add button for image import 2013-09-12 20:24:09 +02:00
Georg Fischer
252ebb0eec add timeout when loading second image for firefox responsiveness 2013-09-12 20:21:37 +02:00
Georg Fischer
e96f50d187 move main.js outside of src folder 2013-09-11 23:30:19 +02:00
Georg Fischer
9d64a16c64 remove obsolete files 2013-09-11 21:45:13 +02:00
Georg Fischer
3c403604bd rename the aux folder to util, because windows. fixes issue #3 2013-09-11 21:37:17 +02:00
Georg Fischer
563a1fb05e update glitch logic 2013-06-27 16:31:27 +02:00
Georg Fischer
aef4d85c67 remove obsolete files 2013-06-27 15:22:02 +02:00
Georg Fischer
87721f7115 add raf polyfill 2013-06-27 15:21:42 +02:00
Georg Fischer
7c02eeeffc add canvas helper file
add request animation frame
2013-06-27 15:21:32 +02:00
Georg Fischer
cca32d920e initial commit 2013-06-27 14:52:28 +02:00