Skip to content
프로젝트

소개

로지스틱 맵을 통해 카오스 이론과 프랙털의 연관성을 시각화합니다. Veritasium YouTube 영상용으로 제작되었습니다.

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+2
in 1 month
+4

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Chaos

Visualizations connecting chaos theory, fractals, and the logistic map!

Written by Jonny Hyman, 2020

This code was developed for this YouTube video from Veritasium

This is not a library, but rather a collection of standalone scripts! As such, there is a bit of code duplication between scripts.

Quick start guide

Install these requirements

Run guide for total beginners

  1. Open "Terminal" on macOS & Linux, "Powershell" or "Command Prompt" on Windows
  2. Download this repository and unzip it or run git clone https://github.com/jonnyhyman/Chaos.git
  3. Change directory into the folder where you extracted files cd ~/route/to/your/folder
  4. Run the program you're interested in, like python logistic_interactive.py
  5. To make changes to the code, install a text editor like Visual Studio Code and then open the file you want to edit. If this is your first python project, GO FOR IT, but also it might not be the easiest to get your head wrapped around (I use a lot of nuanced python functionality).

If you run into problems

  1. Google the problem you're running into
  2. If it seems to be a problem with this code, check if others are having the same problem in "Issues"
  3. Post an issue if no one else has encountered the same thing

Logistic Map - Interactive

python logistic_interactive.py Interactive

This visualization creates a cobweb plot, time series graph, and bifurcation plot for visualizing the logistic map. The font pictured is "Avenir Next" which is licensed as part of macOS. Other OSes will see their default font.

Shortcuts:

  • Spacebar: play/pause
  • Backspace: reset view & animation

3D Mandelbrot Set

python logistic_mandelbrot.py Mandelbrot Set within Logistic Map GIF

Here we see the Mandelbrot set on the x-y plane, and iterations of the Mandelbrot set in the z axis. This reveals the bifurcation plot beneath the Mandelbrot set!

Final visualization is accomplished by a volume rendering of 1000x1000x1000 voxels, oversampled by 16 to reduce aliasing. At that resolution the visual does not run in realtime.


Logistic Map Zoom

python logistic_zoom.py Logistic Map Zoom GIF

  • Note: The final version of the visualization used a custom version of Vispy, modified to improve the appearance of axes. I have not released this and don't plan to.

관련 프로젝트 살펴보기

불러오는 중…