blob: 38bc0eaa08103503f87ddaa8f14818d52aa2ad49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
tikz.within( '*' )
local l = line{ p{ 0, 0 }, p{ 5, 0 } }
draw{ l }
for i = 1, 10
do
l =
line{
p1 = l.p2,
phi = l.phi + math.pi / 5,
length = l.length * 2 / 3,
}
draw{ l }
end
|