Recently I've been looking at Povray, pyprocessing, and cfdg (version 3.0) as tools for creating digital images. I have branched two separate blogs where I mainly explore jruby + processing and processing.py

Wednesday, 8 June 2011

Taking Snapshots in pyprocessing (from jEdit)

There exists a utility script takesnapshop.py in the tools directory distributed with pyprocessing. This allows you to either take a single snapshot, or to take interactive snapshots by pressing the "F1" key. However this is all fiddly command line stuff, so I have created some tools to work on the sketch from jEdit. You can download my commando file and bsh macro here. I recommend taking a look at the takesnapshot.py script, it is quite interesting how it works (it essentially rewrites the input script to include the pyglet save commands), and could provide the basis for you to create a simple movie, from your running script.


No comments:

Post a Comment

Followers

Blog Archive

About Me

My photo
Pembrokeshire, United Kingdom
I have developed JRubyArt and propane new versions of ruby-processing for JRuby-9.1.5.0 and processing-3.2.2