Closed IsakUlstrup closed 3 years ago
@IsakUlstrup - you're right, I just looked at the code and the implementation for destSVG is completely missing. I think I accidentally deleted it when I refactored some of the SVG serialization code!
I'll update and push a new version soon. In the mean time, you'll need to make do without destSVG!
TODO list:
Cool, thanks!
@IsakUlstrup got the implementation done (very easy change), still need to write tests before I merge it though.
In the mean time, you can npm install --save trianglify@next
and that'll get you going with the fixed code.
This is now available in master
(npm install --save trianglify@4.1.1
)
From the docs:
The way I understand it, the attached code should work, but it doesn't. In fact it doesn't seem like passing destSVG does anything. Am I missing something?
codePen