PDA

View Full Version : Drawing in Jitter


samwsd
10th May 2006, 11:19 PM
Hi.
I've got a video input stream. I approximated this video stream and saved the average colour values for each area in a matrix. Based on this matrix I'd like to draw and simply animate some objects, but I don't know how.

First of all: which functions are useful for drawing? Should I use the graphic window and the oval//ring/rect/frame objects? Or is this normally done with jit.gl... (OpenGL)? I found those two options yet, but I'm not sure what to use.

Furthermore I didn't find an example/a tutorial, which would teach me how to read values out of a matrix and use them for drawing simple 2d-objects in the next step. Can somebody please give me an advice how that works, where to find information about this or what I should search for?

Thanks in advance,
Sam

KillingFrenzy
11th May 2006, 06:00 AM
Well, the first place to ask Jitter questions is the Jitter forum on the Cycling 74' site.... but they can be a bit rough on beginners.
Read those tutorials.

For what you're trying to do, the 2d/software answer is jit.lcd
This is the basic object for drawing shapes/lines/fields of color.
jit.gl.sketch is the analog in OpenGL/Hardware rendering land.
From there, you can look at the other gl objects.

look at the tutorials around LCD and jit.gl.render and that will get you started.

Excalibas
19th May 2006, 12:24 AM
Also see the Jitter Recipes Books, there are some great paches where you can find fun ideas.


http://www.cycling74.com/story/2006/2/14/161736/108