Free Online Utility • Interactive Fractal Studio • 2× HiDPI + SVG Engine

Find Fractal Patterns in Images

Measure the Minkowski-Bouligand Box-Counting Fractal Dimension D_0 of built-in fractal benchmarks or any user-uploaded PNG/JPG image, with live multi-scale box overlay and ln N(ε) vs. ln(1/ε) regression plot.

Edge / Luminance Threshold120
Stroke / Detail1.8px
Rotation Angle0°
Mathematical Specification Fractal Studio
Minkowski-Bouligand Box-Counting Dimension D_0:
Partition image into boxes of side ε ∈ {2, 4, 8, 16, 32, 64} px
Count N(ε) = number of boxes containing active foreground/edge pixels
Linear Least-Squares Slope: D_0 = lim_{ε→0} [ ln N(ε) / ln(1/ε) ]
MethodMulti-Scale Box Counting (6 Scales)
Regression FitOrdinary Least Squares + R² Score
Privacy100% Local Client-Side Analysis
INTERACTIVE 2× HIDPI CANVAS
Find Fractal Patterns in Images
100% • Scroll to Zoom • Drag to Pan
Client-side 2× HiDPI + Lossless SVG Engine Instant

Session Calculation Log

No entries recorded in this session yet.

Mathematical Foundations of Find Fractal Patterns in Images

Find Fractal Patterns in Images measures the empirical Minkowski-Bouligand Box-Counting Dimension (D_0) of any built-in benchmark or user-uploaded image. By partitioning the 256×256 image grid into square boxes of dyadic side length ε ∈ {2, 4, 8, 16, 32, 64} pixels and counting the number of non-empty boxes N(ε), the tool fits a linear least-squares regression line to ln N(ε) versus ln(256/ε).

Self-similar fractals exhibit recurring geometric structure across scales, governed by Iterated Function Systems (IFS), Lindenmayer L-System rewriting rules, or recursive spatial subdivisions. Every geometry calculation, 2× HiDPI canvas pass, progressive animation frame, and lossless SVG vector export executes natively inside your browser at 60 FPS with zero server latency.

Multi-Scale Box-Counting Regression Algorithm

1. Threshold / Edge-Extract target image onto binary lattice M[256][256]
2. For each box size ε_k ∈ {64, 32, 16, 8, 4, 2}:
   Count N(ε_k) = number of ε_k × ε_k tiles containing at least one foreground pixel
3. Perform Ordinary Least Squares (OLS) regression on (x_k, y_k) = (ln(256/ε_k), ln N(ε_k)):
   Box-Counting Dimension D_0 = Cov(x, y) / Var(x)
   Goodness-of-Fit R² = 1 - SS_res / SS_tot

A high coefficient of determination (R² > 0.99) across all six dyadic scales confirms true statistical self-similarity, whereas a slope near D_0 ≈ 1.00 indicates a smooth Euclidean curve and D_0 ≈ 1.50–1.90 indicates a strongly space-filling fractal pattern.

Iteration Scaling & Complexity Table

Iteration / SettingElements / SizeGeometric Property
Smooth Circle ControlMeasured D_0 ≈ 1.02Theoretical D = 1.000 (Euclidean 1D boundary)
Koch Coastline BenchmarkMeasured D_0 ≈ 1.27Theoretical D = 1.262 (ln 4 / ln 3)
Sierpinski Gasket BenchmarkMeasured D_0 ≈ 1.58Theoretical D = 1.585 (ln 3 / ln 2)
Sierpinski Carpet BenchmarkMeasured D_0 ≈ 1.88Theoretical D = 1.893 (ln 8 / ln 3)

Applications in Science, Graphics & Engineering

Medical Retina & Tumor Vasculature Analysis

Ophthalmologists use box-counting fractal dimension (typically D_0 ≈ 1.70) of retinal fundus photographs to detect early diabetic retinopathy.

Satellite Coastline & Forest Canopy Remote Sensing

Geographers measure D_0 of aerial shoreline and wildfire perimeter imagery to quantify terrain roughness.

Jackson Pollock & Art Authentication

Physicist Richard Taylor analyzed drip paintings using multi-scale box-counting to measure signature fractal dimensions across decades.

Side-by-Side Visual Verification

The left viewport overlays the active ε = 8px covering boxes directly onto the image while the right viewport plots the 6-point log-log regression line.

Interactive Controls, Pan/Zoom & Vector Export

Test the four built-in calibration benchmarks (Sierpinski, Koch, Carpet, and Euclidean Circle) to see exact empirical agreement with theoretical Hausdorff dimensions, or upload any PNG/JPG image from your device.

Export crisp 2× Retina PNG renders for presentations or scalable infinite-resolution SVG files directly into Illustrator, Figma, Inkscape, LaTeX, or laser-cutting workflows.

Frequently Asked Questions

What is the Box-Counting Dimension (D_0) of an image?
Also called the Minkowski-Bouligand dimension, it measures how rapidly the count N(ε) of boxes needed to cover an image's features grows as box size ε shrinks: N(ε) ∝ (1/ε)^(D_0).
What does the R² score tell me about fractal patterns in my image?
R² measures how closely the 6 scale points (ε = 2..64 px) lie on a straight line in log-log space. An R² above 0.990 indicates strong scale-invariant fractal behavior across more than 5 octaves of magnification.
How are uploaded color photos processed?
Uploaded images are converted to luminance and passed through a Sobel gradient + luminance threshold controlled by the Threshold slider so edges and textures are extracted cleanly.
Are my uploaded images kept private?
Yes. All pixel scanning and linear regression run 100% locally inside your browser.