Skip to content
"Parsley State" by TPOLM, javascript canvas 10k intro for the DemoJS 2012 browser 10k competition
JavaScript Ruby HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md
THX.flava4-s
binhexjs.rb
closure_audiocontext.js
closure_ctxhash.js
closure_mozaudio.js
closure_webkitaudio.js
compiler.jar
index.html
index_closure.html
parsley.js
parsley.svg
parsley_closure.js
pnginator.rb
tpolm_-_parsley_state.png.html

README.md

TPOLM - Parsley State

source code for TPOLM's Parsley State
10k intro for DemoJS 2012
http://pouet.net/prod.php?which=59402

parsley state coat of arms made by kaneel was converted from svg to canvas by using random internet site and some manual cleaning.

to convert AHX file like THX.flava4-s by kaneel into url-encoded string you use Gasman's binhexjs.rb and then copy paste it into the source code

binhexja.rb THX.flava4-s >> AHXdump.js

to compile the javascript with closure compiler you should write this on the console

java -jar compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS --js parsley.js --externs closure_webkitaudio.js --externs closure_mozaudio.js --externs closure_ctxhash.js --js_output_file=parsley_closure.js

after 2015 patch to use audiocontext you should actually write this on the console

java -jar compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS --js parsley.js --externs closure_audiocontext.js --externs closure_ctxhash.js --js_output_file=parsley_closure.js

to convert it to .png self extractable you should write this on the console

ruby pnginator.rb parsley_closure.js tpolm_-_parsley_state.png.html

Something went wrong with that request. Please try again.