Sand Mandala Draw — Interactive Symmetry Simulation

← Back to Visuals

About This Simulation

Sand Mandala Draw is a hybrid Canvas2D experience inspired by the Tibetan Buddhist practice of building an elaborate coloured-sand mandala by hand, then ceremonially sweeping it away. Pick a colour and drag inside the circle: each grain cluster you place is recorded as an angle and a distance from the centre, then instantly duplicated at 6, 8, 12 or 16-fold rotational symmetry, so a single short stroke can bloom into a full ring of matching petals. Nothing is saved to your device — the whole point is that it is temporary. When you are ready, press Release and the finished pattern is converted grain by grain into thousands of individually wind-blown particles that drift, fall and fade over a few seconds, leaving the circle empty and ready for whatever you want to draw next.

Technique

Canvas2D + N-Fold Symmetry

Texture

Jittered Grain Clusters

Release

Per-Pixel Wind Scatter

Persistence

None — By Design

Frequently Asked Questions

Why does one stroke fill the whole circle?

Every dab of sand you place is recorded as an angle and a distance from the centre. That single position is then redrawn N times, each copy rotated by 360 divided by N degrees around the centre — so drawing one petal shape instantly produces a full ring of matching petals, exactly the shortcut real Tibetan monks use by working from the centre outward in one measured section at a time.

How is the grainy sand texture created?

Each stamp is not one solid dot but a small cluster of five tiny circles, each nudged by a random offset within the brush radius and given a random size and brightness variation. Layered together thousands of times, these overlapping grains read as a rough, granular sand texture rather than a smooth painted line — closer to how real sand grains catch the light unevenly when poured by hand.

What happens when I press Release?

The entire sand image is read pixel by pixel; every coloured grain becomes an individual particle with its own outward velocity plus a shared random wind direction. Gravity and drag are then applied every frame while each particle fades out over a few seconds, so the whole mandala visibly disperses into the air — the canvas is cleared underneath, ready for a new pattern the moment the last grain fades.

Is this based on a real Tibetan Buddhist tradition?

Yes, loosely. Tibetan monks traditionally spend days pouring dyed sand into an elaborate mandala using narrow metal funnels, working outward from the centre with precise symmetry, only to ceremonially sweep it away afterward. The swept sand is usually poured into a river as a blessing. This simulation borrows that arc — patient construction, then deliberate release — without any of the religious ceremony itself.

What do the symmetry buttons (6, 8, 12, 16) change?

They set how many rotational copies each stroke produces. Six-fold gives large, simple petal shapes with plenty of open space between them. Sixteen-fold produces a dense, lace-like pattern where even a short stroke fills in quickly. Switching mid-drawing is fine — existing sand keeps its old symmetry, only new strokes use the new count.

Does my mandala save if I close the tab?

No, and that is intentional. Nothing about this drawing is written to LocalStorage or sent anywhere — closing the tab is itself a quiet release, the same way the sand would simply be swept away. If you want to keep a copy, take a screenshot before you leave or before pressing Release.

What is the difference between Release and Clear?

Clear instantly wipes the canvas with no animation, useful if you want to start over immediately after a mistake. Release is the ceremonial option — it reads the finished pattern into wind-scattered particles that drift and fade over a few seconds before the canvas empties, giving you a moment to watch the pattern dissolve rather than simply vanish.

What sound pairs best with drawing a sand mandala?

Tibetan Bowl or Wind Chimes from the Sound Mixer suit the slow, deliberate pace of building a pattern grain by grain. Shamanic Drum works well during the Release moment if you want a stronger rhythmic pulse under the scattering sand.

Does the Sand Mandala work offline?

Yes. ASMR Sanctuary is a Progressive Web App. After your first visit the Service Worker caches the page and all assets, so drawing and releasing sand mandalas works fully offline with no internet connection required.

My device is struggling — any performance tips?

A higher symmetry count means more grain clusters are stamped per stroke, so 16-fold symmetry is more demanding than 6-fold on very old devices. The Release scatter is automatically capped at roughly 3,200 particles regardless of how much sand you drew, so releasing a dense mandala never causes a sudden frame-rate drop.