[READ-ONLY] Mirror of https://github.com/thoda-dev/svg-lua. svg lua library
0

Configure Feed

Select the types of activity you want to include in your feed.

6 2 0

Clone this repository

https://tangled.org/thoda.dev/svg-lua https://tangled.org/did:plc:nmdtqn7ygdvpyxd7bljg2thw
git@tangled.org:thoda.dev/svg-lua git@tangled.org:did:plc:nmdtqn7ygdvpyxd7bljg2thw

For self-hosted knots, clone URLs may differ based on your setup.



README.md

svg-lua#

svg lua library

usage#

mon_dessin = svg:create()
mon_dessin:add(mon_dessin:Rect())
mon_dessin:draw()

result :

<svg width="100" height="100" fill="transparent" stroke="#000000" version="1.1" xmlns="http://www.w3.org/2000/svg">
    <rect y="10" x="10" stroke-width="1" height="10" width="10" rx="0" ry="0" />
</svg>

can be tested here