General

Gems

Web Based

Sikuli Draw

drawing on flash applications

My Physics course required us to graph the acceleration and velocity in a flash application. I wrote a Ruby script to take an image and create a set of on pixels using imagemagick. Those pixels are then read by a Sikuli script, which uses Jython to locate the box, move the pencil to each of the pixel offsets, and click there. This allowed me to draw pictures into the flash application.

Now that I'm familiar with JRuby, I could have probably used that and contained the entire project in a single file, but at the time I did this, it was pushing my boundaries.

results