Processing & Javascript

7thFeb. × ’10

So, want to communicate between your Processing applet and the webpage via javascript? Yep, thought so. So did I!

Processing & Javascript

Processing & Javascript

I wanted to create a BabyName Voyager-type functionality, where changes to the view in the visualisation would change the URL and vice versa.

There are definitely improvements to be made, but this is the first pass at Processing & Javascript.

Eg: you can load the applet with 100 circles and a white background instead by adding the attribute to the hash.

We’ve been working on a datavis project lately, and needed this code for it — so watch this space: I’ll be blogging about The Data Visualisation Process very soon.

This entry was posted in processing, programming, project. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>