Hello all,
I've been messing around with generative images for a while now - first with ActionScript, then with JavaScript and HTML5/canvas. Now I'm moving into Processing. I've successfully ported some of my examples over to Processing, so I'm figuring things out.
Let me apologize in advance if my questions are in the wrong place...or if they've been answered already. I've tried to help myself but I'm getting a little lost.
My two main questions concern (1) using blend modes, and (2) creating large images for high resolution prints.
(1) Blend modes: Flash/AS3 has blend modes, Canvas/HTML5 has globalCompositeOperation, I'm wondering how to best achieve a similar thing in Processing. In particular, I want to draw strokes (or other shapes) on top of the previously drawn image, and use additive ("lighter") blending. You can see that used in some of my examples
at my flickr site here, generated in JavaScript/Canvas (some use additive blending, some don't). (If you are interested in the code for these images, check out my blog
here and
here.)
Should I be using OpenGL for these blend modes? Can you steer me in the right direction?
(2) What's the general wisdom on creating large images for print applications? Exporting a screen-sized image is not sufficient for prints. PDFs are one option, and I've figured out how to do that, but I'm not sure if it would work for every application, for example if the image is created with pixel manipulation. What's the usual workflow for creating large bitmaps for the sake of exports? Should I be using the PGraphics class? (By the way, I have successfully created large images in the browser with JavaScript and canvas, but size limitations for required me to export images in slices which then needed to be stitched together in Photoshop. I'm looking for better ways to do things. I'm pushing JavaScript past what it's intended for!)
I know these questions are rather newbie...but I'm eager to dive into Processing and I could use a little help!
1