[PD] pizza slice in gem

Jack jack at rybn.org
Thu Jun 11 03:20:53 CEST 2009


The curve is not really smoothed (you can add more vertices if you  
I can't see another possibility here, if you want only one form  
working with [draw_line] and [draw_fill] (and if the angle of your  
slice is > 180° because you will get a concave form).
Maybe it can help you.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pizzaSlice.pd
Type: application/octet-stream
Size: 1895 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090611/a36f30ca/attachment.obj>
-------------- next part --------------

Le 10 juin 09 à 23:37, mami music a écrit :

> Hi guys
> im trying to make a 2D pizza slice like shape using GEM. I want to  
> control the angle of the slice mantaining the roundness of its  
> extenal shape.
> I have tried using [curve] but have had no luck when altering the  
> angle. I have tried basic math and trigonometry to assign the  
> values of the different points, but had no luck cause the  
> intersections between the sides and the external border get rounded  
> up. It seems to me that [curve] is not the right object to use.  
> Specifically i have been using the object [curve] with 5 points but  
> have not managed.
> I want to make a solid shape, not just the outline.
> thanks
> Daniel
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list

More information about the Pd-list mailing list