We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › processing inside processing
Page Index Toggle Pages: 1
processing inside processing (Read 913 times)
processing inside processing
Dec 15th, 2009, 11:58am
 
I'm considering building a processing browser of sorts. It's more general than that, but in this context that description will do.

I was considering creating one BufferedImage for each PApplet and passing the Graphics2D from createGraphics() through, allowing me to just render the images.

Basically, this is a scene graph problem with parent-child relationships and transforms that apply just to sprites (PApplets) which the sprite should never be aware of.

I need to be able to resize processing sketches, have them overlap, control framerate, and pass on event objects appropriately (IE with local coordinates for mouse events instead of the containing processing sketch). I would want to load processing sketches after they have been compiled and published through PDE.

Has anyone tried a project like this?
Page Index Toggle Pages: 1