☰
Debian Codegraph
@
2026.20260711-2
2026.20260527-3
/
/
texmf-dist
/
doc
/
latex
/
luatikz
/
example
/
lined.lua
☽
☼
texmf-dist/doc/latex/luatikz/example/lined.lua
code
plain
raw
1
tikz.within( '*' )
2
3
local l = line{ p{ 0, 0 }, p{ 5, 0 } }
4
draw{ l }
5
6
for i = 1, 10
7
do
8
l =
9
line{
10
p1 = l.p2,
11
phi = l.phi + math.pi / 5,
12
length = l.length * 2 / 3,
13
}
14
draw{ l }
15
end