pouët.net

Go to bottom

Colored Glass

Colored Glass

Music by Subsquare
http://music.subsquare.com/

Code & Animation by Kevin Kerttunen
http://kevinkerttunen.com/

Released at Assembly '14

Requirements:
Windows
DirectX 11

Supersampling is used to smooth out the fractal details, so your integrated
laptop GPU may not be good for it. Lower the resolution for better performance.
The demo uses a fixed frame rate of 30 fps.

Designed with Artificator beta - see http://artificator.com/ for more info.

About the Fractals Used in this Demo

The spiral fractal in the intro scene is known as the Nova fractal - it is
calculated by iterating the formula
z(n+1) = z(n) - R * (z(n)^2 - 1) / z(n) + S
where R (relaxation) and S (seed) are complex constants. R and S are animated
to morph the fractal set.

The vocals scene uses a Ducky variant of the Nova fractal where an absolute
value of z(n) is taken before each iteration. This maps any negative values to the
positive top right quad of the complex plane, creating the infinite kaleidoscope look.

Colors are generated by averaging the addends
a(n) = 1 / (1 + |z(n)|)
The average is then mapped to a 1d palette texture to get the final RGB color.

This demo also uses a technique to smoothly interpolate the number of addends used
for coloring. The rings and flashes are rendered on a flow field which is then used
to determine the number of addends used to color each pixel.
Go to top