.hc

On Jun 11, 2009, at 10:16 AM, mami music wrote:

Guys thanks again.
PizzaSlice.pd works great for me.
Yummy

Daniel


2009/6/10 Jack <jack@rybn.org>
Hello,

The curve is not really smoothed (you can add more vertices if you want).
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.
++

Jack




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@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



----------------------------------------------------------------------------

If you are not part of the solution, you are part of the problem.