Svelte 5 component · machines-ui · Animated
GraphMandala
A lotus mandala drawn in terminal glyphs, blooming outward ring by ring and then slowly rotating.
Install
GraphMandala is a Svelte 5 animated ASCII mandala component in @fractaldesign/machines-ui. It works in SvelteKit and in any Svelte 5 app.
pnpm add @fractaldesign/machines-uiImport
import '@fractaldesign/machines-ui/style.css';
import { GraphMandala } from '@fractaldesign/machines-ui';Usage
<GraphMandala title="YANTRA" folds={8} rings={5} />Props
| Name | Type | Default |
|---|---|---|
title | string Caption drawn on the top edge as `[ TITLE ]`. Uppercase, 1–2 words. | — |
animated | boolean Animate the bloom. Default true. Reduced motion freezes a fully bloomed frame. | true |
cols | number Width of the scene in characters; at least 38 so the outermost ring fits. Default 48. | 48 |
rows | number Height of the scene in rows; at least 20 so the circle fits the cell aspect. Default 24. | 24 |
folds | number Rotational folds (K). One cell of the canonical petal is rotated K times. Default 8. | 8 |
rings | number Number of concentric lotus-petal rings. Default 5. | 5 |
speedMs | number Milliseconds per tick. Default 130. | 130 |
seedNum | number Seed for the per-ring radius and phase perturbation. Default 11. | 11 |
label | string Short caption under the art; the art itself is decorative. | 'the circle that holds' |
class | string | '' |
Related components
GraphMandel ASCII Mandelbrot with a slow cinematic zoom into seahorse valley.GraphPulse A live health strip: a window of blips — ok, degraded, or down — appended at a fixed interval, newest on the…GraphRain A looping character-art rain animation with adjustable trails and dimensions.GraphScatter An ASCII scatter plot: x/y points mapped onto a grid, with optional accent points and a linear-trend strip.GraphScope An oscilloscope window that scrolls a data series leftwards, drawing each column as a line or as an area…GraphSequence An animated sequence diagram: four participants (Browser, Server, DB, Worker) on lifelines, with request…