Conway's Game of Life - online JavaScript version

Game of life is an example of a system with very simple rules but unpredictable state in the long term. Each square represents a living space available for a single cell. If there aren't enough cells in the neighborhood, the space is empty, if the cell was present there it dies from loneliness. If...

Fractal way of map generation by using diamond-square algorithm

Diamond-square algorithm is a simple way to generate maps by using fractal approach. The idea is to generate recursively a point based on the values of its neighbors and an additional fluctuation. The main disadvantage is that landscapes aren't realistic and there exist visible edges created during...

Julia set, Cantor set and Fern fractal implemented in JavScript

.fractalWindow { background: #e0e0e0; padding: 0; margin: auto; display: block; margin-top: 20px; margin-bottom: 20px; } .drawFractal { font-size: 120%; color: #333; } In the previous post, I presented a simple fractal - bifurcation diagram of the logistic map. Today I...

Bifurcation diagram of the logistic map [online version]

One of the reasons why mathematics is so amazing is that even a simple at first glance concepts have interesting behaviors and features. I think that the bifurcation diagram of the logistic map is a great example. The logistic map is given by the equitation: xn+1 = rxn(1 - xn), x0 < 1, r ∈ (0,4] Below...