Skip to content

"Parsley State" by TPOLM, javascript canvas 10k intro for the DemoJS 2012 browser 10k competition

Notifications You must be signed in to change notification settings

psenough/tpolm_-_parsley_state

Repository files navigation

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

About

"Parsley State" by TPOLM, javascript canvas 10k intro for the DemoJS 2012 browser 10k competition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published