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 › We are pixels
Page Index Toggle Pages: 1
We are pixels (Read 1712 times)
We are pixels
Feb 20th, 2009, 4:48pm
 
http://www.openprocessing.org/visuals/?visualID=1053

A text made of moving Particles. Use the key 'A' to create the words "Hello World. We are Pixels." Mouse click to move Particles to another place.
It is pretty basic, just an investigation on how to get coords and colors of pre-existing pixels.
Hope you like it.
GC
Re: We are pixels
Reply #1 - Mar 5th, 2009, 9:13am
 
Lovely!  This has turned out to be a very useful starting point for a performance animation project I'm working on.  I worked on the code... found some very significant optimizations that make it fly quite nicely at 640x480 so it can display fullscreen. It also now refers to an offscreen buffer for the swarm to refer to.  Check it out:

http://www.ecuad.ca/~knewby/vespaaminoacid/

Thanks Giancarlo!

Kenneth Newby
New Media - Visual Arts
University of the Fraser Valley
Re: We are pixels
Reply #2 - Mar 5th, 2009, 10:58am
 
Good job Kenneth,
also check out this one:
http://www.openprocessing.org/visuals/?visualID=1116

You can type any key and draw text on the screen with Particles.  It has a bug tho.

I'm glad you found the skecth useful for you.
Cheers
GC
Re: We are pixels
Reply #3 - Mar 6th, 2009, 8:29pm
 
This is adorable!
Re: We are pixels
Reply #4 - Mar 10th, 2009, 4:07pm
 
Hi Kenneth, that's really a nice evolution, can you share the code?
Re: We are pixels
Reply #5 - Mar 10th, 2009, 4:07pm
 
Hi Kenneth, that's really a nice evolution, can you share the code?
tx

Andrea
Re: We are pixels
Reply #6 - Mar 10th, 2009, 10:02pm
 
I've cleaned up the code and posted it on the same page.  

things added you might find useful:

a technique that shuffles the pixels to be inspected in the offscreen buffer to evenly distribute the particles across the whole screen.  this way you never seem to run out of particles, but rather they get more thinly distributed,

use of a timerTask to schedule a recurring task in a predictable interval

use of loadStrings to make use of a text file to use as source typography to swarm around.  this makes for a more generalized approach to rendering streams text.

attaching a graphic image to a particle to animate it.  the particles being attached to are changed perodically, giving the impression that there are more textures in use than in reality.

Enjoy!

Kenneth.
Page Index Toggle Pages: 1