I'm trying to create a polygon(triangle) in snap.svg. I read the docs and I'm still not sure what to do. I see there's a polygon object in the docs, but there's no clear way in how to use it. Where would I put the points for my polygon?
Would it be something like this?
paper.polygon("M10, 20L30, 40");