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
there you are...
only an idea. bon appetit...
Martin
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
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
Thanks a lot guys will now check your parches. and let you know!!!
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
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
It does some really nice stuff if you add a high-speed counter to it:
.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.
hey,
I was thinking about how to do a graphic "knob" with this patch, but could not realize yet the correct trigonometric operation to do with [gemouse] transformations... Could someone give an idea? I though in something like the edge of the angle stucked in the mouse pointer, but I don't know Gem or geometry enough to realize it...
the starting point is attached...
thanks glerm
2009/6/11 glerm soares organismo@gmail.com
the starting point is attached...
well,
I made something that works... but I am curious about best solutions...
abraço glerm
Maybe this… (but i'm not sure ! :) For Andrew Faraday : Can you post your funny patch on this list ? ;) ++
Jack

Le 12 juin 09 à 02:14, glerm soares a écrit :
2009/6/11 glerm soares organismo@gmail.com the starting point is attached...
well,
I made something that works... but I am curious about best
solutions...abraço glerm
<GEMknob_mouse.pd> _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list