Inspired by Lenia and quantum mechanics, this cellular automaton evolves according to the Schrödinger equation, with a convolutional Hamiltonian.
The kernel and initial state are defined within the relevant funtions inside main.cpp.
Cellular.Automata.Example.mp4
SFML is used for the visualisation of the system at a certain time. The system is made up of a 2-D grid where each point stores a complex value. In the visualisation, the complex number is converted into a colour. The hue of the colour corresponds to the phase of the complex number; the brightness is proportional to the arctangent of the magnitude.
The system transforms according to:
From this we can derive that:
In the frequency domain, making use of the convolution theorem, this becomes:
If
Ensure you have the following dependency installed before running the project: