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.
IndexDiscussionExhibition › Some Processing camera examples
Page Index Toggle Pages: 1
Some Processing camera examples (Read 6572 times)
Some Processing camera examples
Jul 30th, 2005, 4:31pm
 

For those of you who are new to Processing and haven't seen these before, I thought I would point these examples by Charles Forman.

Water
http://www.setpixel.com/content/?ID=ilovewater

Snow
http://www.setpixel.com/content/?ID=snow

Fire
http://www.setpixel.com/content/?ID=fire

There are lots more examples on the Setpixel site.
Re: Some Processing camera examples
Reply #1 - Oct 25th, 2006, 7:14am
 
Hi Chris,
Any idea if the code for these is available anywhere? The designer mentions on the blog that he's going to share it, but I didn't spot it anywhere...
Thanks!
Re: Some Processing camera examples
Reply #2 - Nov 16th, 2006, 12:25pm
 
hello

well, i'm also looking for the sources, because there's a lot to learn in there !!
Sample Code Available
Reply #3 - Dec 4th, 2006, 2:29pm
 
Hey guys,

Nice examples at setPixel. I think it is more useful to understand the concepts behind the code than to get handed a bunch of code that answers all the problems at once. That being said:

I have some (slightly messy) sample code that captures video, compares it to a previous frame, and responds to the difference posted on codetree.org. It's called bees and flowers and is currently the most recent post. You won't be able to demo the applet online, since I haven't been able to figure out how to export camera-enabled applets yet (maybe a question for these boards).

The program shown on codetree was displayed live at Kofenya in Oxford,OH last friday. It's a small, independent coffee shop with just enough room on the bar for me to squeeze my laptop, iSight, and borrowed lcd projector onto. I'll be putting documentation up on my website soon.

cheers,
¿bioscribble
Re: Some Processing camera examples
Reply #4 - Dec 4th, 2006, 10:41pm
 
hello Bioscribble.

i agree with you, it's not really the code that matters, but the concept.

i'm not interested about how to caputre video, or analyse the difference between two frames (movement detection), but i think to obtain a good result like setpixel's, he has to optimize every part to display so many sprites.

i'm very interested about the algorithm used to move the snowflakes. he said he make a "wind map" to move the snowflakes accordingly. the wind map is an array of vectors. How does he set the vector map by analyzing the movements, how did he analyze the movements itselfs, etc etc...

i've tried to contact him several times, but in vain. Smiley

Re: Some Processing camera examples
Reply #5 - Sep 28th, 2009, 7:46am
 
I am starting to write code for a class project of mine and was looking for some help.  My project uses a camera to focus on your hands to move objects on screen.  Its a medical simulation.  Does anyone have any ideas/tutorials/help that they can give that would be very helpful.
Page Index Toggle Pages: 1