I've already learned the most of the content from "Processing, A Programming Handbook for Visual Designers and Artists". So I think I understand the basics... but I must confess that it was a little bit disappointing that it's dealing mostly with graphics stuff... I'm more interested in manipulating pixels, videos and making interactive applications.
Does anyone know a good book which explains the topics deeply in which I'm interested in?
I was thinking to get "Programming Interactivity" by O'Reilly but I'm not shure if it's the right book for me.
It would be a pleasure if anyone could give me an recommendation.
I'm not very used to processing yet... I've just started making sketches a half year ago. It works very well, but nevertheless I have a problem:
I just understand how I can attach videos in Processing and manage how I can start, stop it and jump to a certain frame. I understand how I can grap the webcam but I don't know how I can measure activity within the captured picture.
I just found a side
www.creativecoding.org with a code to understand how activity measuring works, but I think this is not the right solution (and I must confess that I don't understand the code completely).
The only thing I want is, if the cam measures a certain amount of activity that the video played in a second sketch will jump to a certain frame and if the activity's amount under a certain level that it will jump back.
I also have a second problem that I don't know how to attach two sketchs with each other.
can anybody help me... this might be a noob question but I really don't get further.
this is my sketch:
import processing.video.*;
final int VID_WIDTH = 640; final int VID_HEIGHT = 480;
float[] buffer1 = new float[VID_WIDTH * VID_HEIGHT]; float[] buffer2 = new float[buffer1.length]; float[] buffer3 = new float[buffer1.length];
it works well but I don't know exactly how I can determine the value exactly... also it would be necessary that i can view the rect in a second window... the rest I would manage by myself I think...