Skip to main content
100%

Chaos Game

✓ Published0🌍 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
MIT Licensed

Similar vizzes