Sri Yantra generator: the nine interlocking triangles with their lotus petals, circles and gates, drawn to scale, colorable, and exportable as SVG or PNG.
See the codeDraw a Sri Yantra right in your browser: nine interlocking triangles around a central point, ringed by lotus petals, circles and a gated square. Change the colors, build it up one triangle at a time, and save it as an SVG or a PNG. No sign-up and no libraries.

The Sri Yantra is the best known of the sacred diagrams of the Indian tantric traditions. Four triangles point up and five point down. The upward ones are usually read as Shiva and the downward ones as Shakti, and together they meet at the bindu, the central point.
The page also lists the nine enclosures (avaranas) from the outside in, with their Sanskrit names and their usual glosses.
The triangle coordinates come from the Sri Yantra example on TeXample.net (CC BY-SA 4.0). The two largest triangles have their corners on the circle and every triangle is symmetric left to right. The lotus petals follow the same example. Practitioners may prefer other proportions, and there are several schools of drawing. A hand-drawn yantra is a matter of practice and not just geometry.
The pages are plain HTML, CSS and JavaScript, with no dependencies and no build step. Just open index.html. It is also a small installable web app: add it to your home screen or desktop and it works offline.
Sri-Yantra is open source at GitHub with MIT license.
Had fun browsing the app? Buy me a coffee by becoming a sponsor.
You may also be interested in my other sacred geometry projects Mandala-Maker (demo) and Sacred-Geometry (demo). For more mystic arts as small web apps, see Esoterica.
Copyright (c) 2026 Olivier Giulieri.
6 commits
HTML
37.2%
CSS
32.0%
JavaScript
30.8%
Sri Yantra generator: the nine interlocking triangles with their lotus petals, circles and gates, drawn to scale, colorable, and exportable as SVG or PNG.
See the codeDraw a Sri Yantra right in your browser: nine interlocking triangles around a central point, ringed by lotus petals, circles and a gated square. Change the colors, build it up one triangle at a time, and save it as an SVG or a PNG. No sign-up and no libraries.

The Sri Yantra is the best known of the sacred diagrams of the Indian tantric traditions. Four triangles point up and five point down. The upward ones are usually read as Shiva and the downward ones as Shakti, and together they meet at the bindu, the central point.
The page also lists the nine enclosures (avaranas) from the outside in, with their Sanskrit names and their usual glosses.
The triangle coordinates come from the Sri Yantra example on TeXample.net (CC BY-SA 4.0). The two largest triangles have their corners on the circle and every triangle is symmetric left to right. The lotus petals follow the same example. Practitioners may prefer other proportions, and there are several schools of drawing. A hand-drawn yantra is a matter of practice and not just geometry.
The pages are plain HTML, CSS and JavaScript, with no dependencies and no build step. Just open index.html. It is also a small installable web app: add it to your home screen or desktop and it works offline.
Sri-Yantra is open source at GitHub with MIT license.
Had fun browsing the app? Buy me a coffee by becoming a sponsor.
You may also be interested in my other sacred geometry projects Mandala-Maker (demo) and Sacred-Geometry (demo). For more mystic arts as small web apps, see Esoterica.
Copyright (c) 2026 Olivier Giulieri.
6 commits
HTML
37.2%
CSS
32.0%
JavaScript
30.8%