Repository navigation
Expand file tree
/
Copy path10-mandala.yaml
More file actions
60 lines (52 loc) · 1.46 KB
/
Copy path10-mandala.yaml
File metadata and controls
60 lines (52 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# mandala — a twelve-fold template to draw on: guide rings and spokes, a
# flower-of-life rosette in the middle, a double ring of lotus petals, two bead
# rings and an outer frame. Radii are a share of the shorter side (%s, § 8.11),
# so it fills any format. A4.
# Regenerate: ctrlgrid -d examples/10-mandala.yaml -o out.pdf
version: 1
defs:
guide: &guide "#c2c8d0"
petal: &petal "#8aa0b8"
star: &star "#2f5686"
page:
format: a4
margin: 16mm
generator: mandala
sectors: 12
outer_radius: 48%s
# The scaffold: evenly spaced guide rings and twelve spokes, left faint.
rings:
count: 5
weight: 0.15pt
color: *guide
spokes:
inner: 0.05
weight: 0.15pt
color: *guide
# A flower-of-life rosette in the centre — one ring of circles, mirrored onto
# the sector bisectors so the petals of the flower interlock.
rosette:
at: 0.5
radius: 0.16
mirror: true
weight: 0.2pt
color: *petal
# The motif: pointed lotus petals, one per sector and mirrored onto the
# bisectors — twenty-four leaves, each two arcs from base to tip (§ 7.11).
petals:
inner: 0.34
outer: 0.94
width: 0.12
mirror: true
weight: 0.25pt
color: *star
# Bead rings — dots on a circle. A dense rim of thirty-six, and an inner ring
# of twelve on the spokes.
beads:
- {at: 0.99, count: 36, size: 0.9mm, color: *star}
- {at: 0.20, count: 12, size: 1.1mm, color: *petal}
# A faint twelve-sided frame at the rim.
polygons:
- radius: 0.99
weight: 0.2pt
color: *guide