Commit graph

51 commits

Author SHA1 Message Date
Gered 1998672258 add initial routes / views for animated gif support (not animating yet) 2014-04-03 22:13:10 -04:00
Gered 4aa70fdb40 revert java/clj separate source paths, back to original layout 2014-04-03 21:34:39 -04:00
Gered aae01476a0 replace manual image manipulation with our own new clj-image2ascii lib 2014-04-03 21:32:49 -04:00
Gered 7c29069559 change convert-image to use the java image->ascii function 2014-04-01 22:59:40 -04:00
Gered 54dc8b0543 alternate StringBuilder implementation. add function to convert RGB components to 2-digit hex strings 2014-04-01 22:57:21 -04:00
Gered b7363d3a81 extremely minor performance tweaks
tested with criterium benchmarks, on my imac, marking all these local
vars final helps out by 0.3ms... negligible, but sorta interesting!
2014-04-01 21:07:10 -04:00
Gered d9e05c610f add java converter for turning an image intto ascii representation 2014-04-01 18:43:13 -04:00
Gered 45c6ba0d18 reorganize source folders to allow for some java code to be added 2014-04-01 17:12:31 -04:00
Gered 1b5187f465 initialize StringBuilder size, better way of getting the raw pixels 2014-04-01 06:52:36 -04:00
Gered 21e5939cb2 type hints for query-param-url->java-url 2014-03-31 19:25:01 -04:00
Gered 5baeadb0f5 first pass at performance tweaks. work with a direct int[] of pixels 2014-03-31 17:48:47 -04:00
Gered f62a2ca558 add criterium for benchmarking, and a test image 2014-03-31 17:22:29 -04:00
Gered 64e66d6631 minor tweaks 2014-03-30 18:46:41 -04:00
Gered a932983a72 saner checks and defaults for color and format behaviour combinations 2014-03-30 18:44:56 -04:00
Gered 2d13e8431c add image->ascii form 2014-03-30 18:32:33 -04:00
Gered 7903348093 show method call url as a link tag 2014-03-30 18:32:19 -04:00
Gered 631b10a66f fix form input element selector again. update element value retrieval 2014-03-30 18:31:34 -04:00
Gered 978405d385 fix value that the js context var is set to 2014-03-30 17:38:00 -04:00
Gered 064a487007 show the exact http call being done on each api request using the form 2014-03-30 17:36:29 -04:00
Gered 9fc238ac16 adding some color 2014-03-30 17:24:49 -04:00
Gered 2b1be20cc8 disable form fields when submitting, re-enabling when we get a response 2014-03-30 17:23:28 -04:00
Gered 0d733381d5 fix error alert padding 2014-03-30 17:22:59 -04:00
Gered f267470892 better selector method 2014-03-30 17:18:40 -04:00
Gered 8dad313897 update styling. fix incorrect template include for image->ascii 2014-03-30 17:17:09 -04:00
Gered 3723d80acd initial on-page support for using the text->ascii api method 2014-03-30 17:14:28 -04:00
Gered bb39d4e1b7 pass list of flf font names to the main template 2014-03-30 17:13:57 -04:00
Gered 65baca1e7c add site error template. update wrap-exceptions to nicely handle api errors and general "web page" errors 2014-03-30 16:49:04 -04:00
Gered 76697d3763 add initial wrap-exceptions handler 2014-03-30 16:37:14 -04:00
Gered 5a732e9a84 wrong function, woops 2014-03-30 15:24:48 -04:00
Gered e4245ca7ee function to get font names list 2014-03-30 15:11:42 -04:00
Gered a5c05a7afd remove unused imports 2014-03-30 15:10:44 -04:00
Gered 51b04737e3 minor template updates 2014-03-30 15:10:34 -04:00
Gered 171299159e fix outputting image as plain text or html 2014-03-30 11:33:58 -04:00
Gered e91a6f50a7 add image route support for the remaining parameters 2014-03-30 11:07:31 -04:00
Gered 3ba5bb3937 organizing, doc comments, and fix scale-image arguments 2014-03-30 11:07:10 -04:00
Gered abc71f1743 useless 2014-03-30 10:41:45 -04:00
Gered d787ecb377 font size tweak 2014-03-30 10:05:49 -04:00
Gered 2cfc358023 better way of calculating perceived brightness of a pixel's color 2014-03-30 10:05:37 -04:00
Gered 8df5b8af6d attempts to refactor / speed up image -> ascii conversion. improve image route 2014-03-30 09:46:58 -04:00
Gered 7c218ec19c add initial support for converting images (by url) to ascii 2014-03-30 07:56:50 -04:00
Gered 4d7456a619 url string -> java.net.URL conversion fun! 2014-03-30 07:52:52 -04:00
Gered 340a2fcfc6 add cemerick/url dependency 2014-03-30 07:52:25 -04:00
Gered 993304d7f8 fill out the web page side of things a bit 2014-03-30 05:18:27 -04:00
Gered 894f0926ad remove extra quote 2014-03-30 05:00:06 -04:00
Gered ef12bb974c adjustments to malformed / not-found request handlers 2014-03-30 04:58:03 -04:00
Gered 2e9cca8e4c add text render api route 2014-03-30 04:34:19 -04:00
Gered 7df24726e4 load flf fonts at app startup 2014-03-30 04:04:36 -04:00
Gered 71751cbbd1 whoops 2014-03-30 04:04:25 -04:00
Gered 6fbb0e5648 add flf font loading 2014-03-30 04:01:56 -04:00
Gered 43fd632cfc add flf fonts 2014-03-30 03:35:53 -04:00