Forked from
Jonathan Wilkes / purr-data
Source project has a limited visibility.
-
Jonathan Wilkes authored
add feature to "normalize" svg path data and pass it along as a FUDI message (e.g., "M0-2l3 4" becomes "M 0 -2 l 3 4") This gets triggered when the user include the "d=" and double quotes as the object args to [draw path]. So [draw path d="M0-2l3 4"] triggers a conversion to [draw path M 0 -2 l 3 4], whereas [draw path M0-2l3 4] does not. This is necessary because Pd lets the user include scalar fields inside path data, and we can't normalize that.
Jonathan Wilkes authoredadd feature to "normalize" svg path data and pass it along as a FUDI message (e.g., "M0-2l3 4" becomes "M 0 -2 l 3 4") This gets triggered when the user include the "d=" and double quotes as the object args to [draw path]. So [draw path d="M0-2l3 4"] triggers a conversion to [draw path M 0 -2 l 3 4], whereas [draw path M0-2l3 4] does not. This is necessary because Pd lets the user include scalar fields inside path data, and we can't normalize that.