Inspired by this Youtube video by 'The Coding Train', I recreated an animated version of a simple 1D Cellular Automata. The Cellular Automata is fully characterized by a single integer number < 255, which is converted into its binary representation. This binary representation forms the ruleset of the automata.
Here is the Wikipedia article on elementary cellular automata.
A 1D row of 0's or 1's is evolved through iterations of the ruleset.
Inspired by a X(Twitter) post, I recreated an animated version of an attractor-like equation, presented simply as "Orbits". The orbits are soley defined by the equations
x_next = sin(x**2 - y**2 + c1)
y_next = cos(2*x*y + c2)
The equations can, theoretically, be exchanged with any (periodic) trigonometric function, such as the tan.
Evaluating the equations and varying c2 results in the these videos:
sin in the first equationtan instead of sin in the first equation
Evaluating the equations results in images like this:
sin in the first equationtan instead of sin in the first equation
Short Jupyter Notebook to visualize the Eigenvalues of special square matrices
Short Summary and Example
Takes a complex `N x N` matrix with two randomly chosen variable elements.Calculates the Eigenvalues of this matrix varying the two variable elements.
Plots the resulting Eigenvalues.
Visualization for simple sorting algorithms. The rules for implementation are simple: No loops, no in-build function like slicing or copying of lists. Every read or write has to be done interatively. This maximizes viewing pleasure :)
Future plans: Visualize more advanced sorting algorithms like heapsort, bucket sort and so on.











