A function that accepts an array of bezier points and converts them to a structure that Zdog understands.
Usage
- Copy a single path directly from Adobe Illustrator
- Paste it into a text editor
- Copy just the
d
property string from the path (the string in quotes) - Paste into https://path2bezier.netlify.com/
- Copy the output and pass it into
makeZdogBezier
Demo https://codepen.io/chrisgannon/pen/85d369c0252013c8fa925c9af2e38c8f