logo

Logo Fractal

Infinite animated logo I created an infinite version of the logo of UI/UX designer Luan Gjokaj. Please checkout his great website Riangle. Run Full Screen


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…


Ray marching

I started to experiment with a technique called "ray marching", also called "ray casting" or "sphere tracing". The method is quite new and different from the classic method with 3D vertex models or ray tracing. There is an excellent paper, written by Prof. John C. Hart. You can read it here:…


Painting with deep neural network

I'm fascinated by computer generated art and I think it would be great if a computer would be able to learn how to paint. As an experiment, I've created a deep neural network that takes coordinates input X of 2 neurons, mapped to 5 hidden layers with 64, 128, 256, 128 and 64 neurons respectively.…


game-of-life

A C++ exercise in function pointers and concurrency

Game of Life This program shows the well known Game of Life. I've chosen this simulation as an exercise to explore: Member function pointers as argument Problem domain slicing concurrency, using all available cpu cores, without creating and destroying thread objects after each iteration. Game of…


Youtube Stream Downloader

I'd like to watch tutorials, lectures or keynote speeches from conferences while traveling in the train. However, to watch a live stream over a wacky cellular network is not fun. Moreover, my data plan is fine for reading emails and do some web browsing, but is not sufficient for streaming…


2D strange attractors

I've always been fascinated by fractals and strange attractors. One of the most famous strange attractor system is the Lorenz system. But with some trial and error, you can find some formulas that create "chaos". In this post, I used a system of equations, described in the book "Chaos In…


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…


Groovy!

Celebrate the seventies! Groovy baby! Canvas prototype of a web interface with dynamic buttons, turning polar roses and Fast Fourier Transformation for real-time spectrum analysis of the music to animate the Blitzblit logo. Move the mouse to reveil the buttons. Music: E.V.A. by Jean-Jacques Perrey…