Version 1.0.. "Runs on caffeine, math, and questionable choices.", Ads keep this free. love them. click them :)

How DOT‑O‑MATIC Works

DOT‑O‑MATIC uses a sophisticated multi-stage algorithm to convert images into precise SVG stipple art. All processing happens entirely in your web browser, ensuring privacy and speed. Here's a detailed breakdown of the process:

Stage 1: Image Loading & Analysis

When you upload an image, DOT‑O‑MATIC loads it into a hidden HTML5 canvas element. The image is analyzed pixel-by-pixel to extract:

The image data is stored in memory as a raw pixel array for fast random access during dot placement.

Stage 2: Dot Placement

Dots are placed using one of two strategies:

Random Placement (Default)

The algorithm generates random pixel coordinates across the image. For each candidate position:

Grid Placement (Optional)

When "Align to grid" is enabled, the algorithm:

Stage 3: Collision Detection & Overlap Prevention

When "Prevent dot overlap" is enabled, DOT‑O‑MATIC uses a spatial grid optimization system:

Stage 4: Voronoi Optimization (Lloyd Relaxation)

The optional Voronoi optimization improves dot distribution using Lloyd's algorithm:

More iterations produce smoother distribution but require more processing time. The algorithm samples the image at regular intervals (controlled by "Cell sample step") to balance accuracy and performance.

Stage 5: Dot Sizing & Color Assignment

Each dot's final size and color are determined:

Stage 6: SVG Generation

The final SVG file is generated with precise unit scaling:

Performance Optimizations

DOT‑O‑MATIC uses several techniques to ensure fast processing:

Key Parameters Explained

Min Dot Size:
The smallest dot size (used in brightest image areas)
Dot Size Range:
Additional size added in darker areas (max size = min + range)
Gamma:
Controls the size distribution curve. Lower = more contrast, higher = smoother
Placement Boost:
Adds a flat probability increase (0-1) to all dot placement attempts
Padding:
Additional space between dots as a percentage of dot radius
Iterations (Voronoi):
Number of Lloyd relaxation iterations (more = smoother, slower)

Browser Compatibility

DOT‑O‑MATIC requires modern browser features including:

Works best in Chrome, Firefox, Safari, and Edge (latest versions).