fossunited / joy

Joy is a tiny creative coding library in Python.
MIT License
193 stars 19 forks source link

Add PolyLine Shape #4

Closed anandology closed 3 years ago

anandology commented 3 years ago

The API

shape = PolyLine(points = [
    Point(0, -10),
    Point(10, 10),
    Point(20, -10),
    Point(30, 10)
])

Reference

https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polyline