[PD] Data structure array with last element pointing back to first element

João Pais jmmmpais at googlemail.com
Mon Oct 3 02:48:22 CEST 2011


wouldn't it be simpler to compare the value of the 1st point with the last  
one, without creating the new variables? it's too late now, can't give a  
concrete example.

or, this is a situation where a "change" identifier for arrays would come  
in very handy (which already exists for loose pointers). then the metro  
hack wouldn't be necessary.

> Here's a quick hack-- didn't check it for bugs.
>
> The real solution would be to add a "-c" flag to [plot] to draw the  
> trace back to element 0:
>
> [plot -c etc.]

-c is the same as curve, right? an extra parameter for the stepness of the  
bezier would also be nice

João



More information about the Pd-list mailing list