#253 · Primary category: Video & Animation

Chaos

Visualizations of the connections between chaos theory and fractals through the logistic map; made for Veritasium YouTube video

Project last updated:10/17/23

GitHub Stars

1.9K

Forks

307

Contributors

4

License

MIT

Why we included this project

This repo started life as the code behind Veritasium's video on the logistic map, and it reads like it: a pile of standalone Python scripts made to be run and poked at, not a polished library. The main interactive script combines a cobweb plot, a time series, and a bifurcation diagram in one window, and the 3D Mandelbrot render is the showstopper, with the z axis stacking iterations until the same bifurcation pattern appears beneath the fractal. Each script only needs numpy and numba, so you can run a single file, tweak the parameters, and watch the dynamics change immediately. The code is short enough to follow line by line, which makes it a good way to actually understand iterative maps rather than just admire the pictures. Teachers building classroom demos and anyone curious about how chaos theory connects to fractals will get real use out of it.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category