Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 1.22 KB

README.md

File metadata and controls

28 lines (15 loc) · 1.22 KB

TPOLM - Parsley State

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

online link: http://psenough.github.io/tpolm_-_parsley_state/

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