learning the ropes

things I made at ITP and after: sketches, prototypes, and other documentation

Sunday, November 26, 2006


Shinyoung and I are working on our final project and preparing it for submission for the ITP 2006 Winter Show.


We had some difficulties on Wednesday afternoon, which stemmed from a bug in Processing’s offscreen drawing code. We are drawing our kaleidoscope images offscreen in order to avoid the overhead of computing the positions of all of the “particles” in our system. By drawing a small particle system offscreen and capturing the bitmap image of it each frame, we can manipulate the bitmap using Processing’s image handling functions and avoid iterating through massive collections of particle objects.

Shawn Van Every came to our assistance and helped me dig through some of the Processing source code in order to locate a potential workaround. He found that by changing the offscreen rendering method from P2D to Java2D, we could safely use the “rect” function which had previously caused Processing to choke.

posted by Michael at 11:01 pm  

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress