HomeAlgorithms & AIBox-Counting Fractal Dimension Estimator

Box-Counting Fractal Dimension Estimator

Interactive box-counting simulator: overlay a multi-scale 3D grid on point-cloud patterns (Sierpinski tetrahedron, Cantor dust, random cloud, flat plane) and watch the algorithm estimate the fractal dimension from a log-log regression, live.

Algorithms & AI3DAdvanced60 FPS📱 Mobile-adapted⇄ 2D version
pattern-recognition-advanced ↗ Open standalone

This simulator runs the box-counting algorithm — the workhorse of computational pattern-complexity analysis — on four different 3D point clouds live in your browser. Choose a pattern (a chaos-game Sierpinski tetrahedron, a 3D Cantor dust, a uniform random cloud, or a flat plane), and the scene overlays a cubic grid at six scales, counting how many cells each pattern touches at every scale. A least-squares fit of log N(s) against log(1/s) turns those counts into a single number, the estimated fractal dimension D, updated live as you regenerate the pattern or change its point density — letting you watch a genuinely algorithmic pattern-recognition measurement converge toward each shape's known theoretical dimension.

⚙ Under the hood

Run the box-counting algorithm on live 3D point clouds — a Sierpinski tetrahedron, Cantor dust, a random cloud and a flat plane — and watch a log-log regression estimate each pattern's fractal dimension in real time.

fractal-dimensionbox-countingpattern-recognitionalgorithmsregressionthree.js

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)