It moves in real time. It is drawn continously by phthon software. Visit the mentioned https://vrangen.net/fuzzy/static/images/debug.jpg url for a snapshot of how the particle workers are currently moving around
The image on the site is refreshed every 5 seconds. Changes are minuscule it does 1000 pixel changes a minute currently. Particles move at 1 pixel speed with an angle based on their behavior
They are unaware of the underlying image they draw. Each particle is associated a random picture to draw at birth and continous to draw until death. Draw means copy a pixel from the source image to the displayed output image.
Each particle class is defined with a color in the debug.jpg image
8 comments
[ 4.0 ms ] story [ 24.2 ms ] threadA python program continously draws 22 different faces over each other.
All faces are aligned at the eyes.
The drawing particles have three different behaviors:
1. Move randomly
2. Move randomly with 45 degree angles
3. Move randomly but attracted to the firstborn particle and afraid of being near the average position of all particles.
Go to
https://vrangen.net/fuzzy/static/images/debug.jpg
for a picture of the particles in action
Sourcecode available at
http://github.com/sloev/face_experiments
How are the particles attracted to the areas of the image that need to be darker?
Each particle class is defined with a color in the debug.jpg image