The Algorithm of Sparkle

Deconstructing the workflow of Diamond Painting

1. The Concept: Pixels & Physicality

Diamond painting is essentially analog pixel art. To create a physical masterpiece, we must first rasterize a continuous image into a discrete grid. This process is called Quantization.

Use the slider below to translate the photograph into physical units (drills).

2. The Data Structure: The Legend

How do we map a symbol on the canvas to a physical bag of resin stones? We use a Lookup Table (or Legend). In the industry standard, this maps a Symbol to a DMC Color Code.

{
  "Symbol": "&",
  "DMC": 310,
  "Color": "Black"
}
Hover a symbol, then click the correct bag.

3. The Physics of Alignment

Why do we shake the tray? It's a method of using random mechanical energy to create order. The ridges in the tray act as physical constraints.

Click "Shake" to apply vibration. Watch how high entropy (chaos) transforms into low entropy (order).

Alignment Force: 0.0 | Entropy: High

4. The Adhesion Mechanism

To manipulate the stones, we rely on differential adhesion. The wax is sticky enough to pick up the stone, but the canvas glue is stronger, pulling it off the pen.

Task: 1. Click Wax. 2. Click Diamond. 3. Click Canvas.

1. Wax Pot Low Tack (3)
2. Diamond Weight (1)
3. Canvas High Tack (10)
Start by loading the pen with wax.

5. Synthesis: The Flow State

Put it all together. Select a color, ensure your stylus has wax, and paint the grid. Complete the pattern to trigger the sparkle.

Wax
Color Selected: None