Fun with FFT

For a project I work on, the designer had the idea of having real-time sound waves on the background of the application. Challenge accepted! See below the result of the first prototype. The current implementation measures the energy of sound by doing fast Fourier transformations and sum the…


Moonraker

Chasing the moon, flying over the surface with high speed. I love the ray marching method for creating incredible graphics. No mesh or texture is used, the whole program is made in the fragment shader. Click on the image to run the simulation. Fly over the surface of the moon. Run Full Screen Ray…


Phyllotaxis

Tonight I was reading some interesting publications about math in nature. I was drawn to the phenomena of Phyllotaxis. The beautiful and dense arrangement of leaves in nature is stunning to see. The text below is cited from the free book "the algorithmic beauty of plants", available on the website…


Diffusion-Reaction, creating animal patterns

I while ago, I stumbled upon a famous paper of Alan Turing called The chemical basis of morphogenesis. It is fascinating to see the idea of using diffusion - reaction equations to simulate the creation of animal patterns. In his paper, he describes his idea to use two non-uniform…