"Reveal" is a software program that combines 2 distinct photographies to create a new one.
The algorithm is modulated by:
- sound (in this video: "Gnossiennes: No. 3", by Eric Satie)
Each photography's pixels are shuffled.
Particles's life value is chosen arbitrarily.
Particles's acceleration vector is randomised.
The sounds samples are extracted and compared for both channels (right and left).
Generally speaking, 1024 sound samples can be extracted of any track on each frame (here, the program runs at 60 frames per second).
A sample is a float value in the range [-1.0f, 1.0f]
The algorithm compare samples for both channels and subsequently extract a pixel from one photography or the other (left > right => 1 pixel extracted from the "first" photo)
As a result, there is unpredictability and reproducibility in the process: although the shuffle step creates a unique combination of one photography's pixels each time it is ran, modulating the pixels selection using the same track will result in the same amount of pixels will be extracted from the same photography for each generation of the algorithm.
Photographies are 457 * 700 pixels.
6 particle scannings.
1,919,400 particles objects are created and destroyed.
Programmed in C++ / OpenGL
name: "Gnossiennes: No. 3"
artist: Eric Satie