screenshot.3

While playing around with an 8x8 LED matrix connected to an Arduino through a Color Shield, I wanted to gain a better understanding of the plasma function in the demo. Since I'm a bit more comfortable with JavaScript than C/C++, I figured I would translate the plasma code into JavaScript and play with some settings.

The jQuery Plasma Plug-in now has an official project page, which will always contain the latest releases and sample code.

After my efforts, I still really don't grasp what is going on with the math involved, but hell, I got it to work in JavaScript.


EDIT: Did some tweeking, bug fixing, and packaged up everything. This is definitely alpha software, use at your own risk.

EDIT 2: Updated to Version 0.2. Added start, stop, and destroy methods. Improved delay timer performance. Exposed all settings in jQuery data object, allowing for on the fly changes to settings (see example.html).

Leave a Reply

(required)

(required)

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>

© 2012 danielpmacdonald.com Suffusion theme by Sayontan Sinha