Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Chaos Game

Public visualization

Viewing a saved revision (read-only)

6067ff5525cf441789ec99c1e2342097

Chaos Game

0 stars0🌍 Public
Nnandugali
Last edited Sep 29, 2023
Created on Sep 29, 2023

This visualization demonstrates the chaos game, a mathematical process that generates fractal patterns by repeatedly selecting points between a set of fixed anchor vertices. The SVG canvas displays a dense scatter of points that emerge as the algorithm iterates, with each new point placed halfway between the previous point and a randomly chosen vertex. The example uses D3.js v7 to manage the SVG element and render the resulting point cloud, while the underlying computation is handled in JavaScript. The visualization shows how simple probabilistic rules can produce intricate, self-similar geometric structures.

AI-generated description