Thanks everybody for your help. I finally made a patch using Gem, exactly the way I wanted it. What I was missing was Patrice's implementation for the sine curve. I've attached my final patch. Cheers
On Fri, Apr 5, 2013 at 12:36 AM, Jonathan Wilkes jancsika@yahoo.com wrote:
Btw-- I just uploaded a patch that adds [drawoval], [filledoval], [drawrectangle], and [filledrectangle] to data structure drawing instructions. This way you can just specify a pair of bounding box coords and let tk draw the circle, rather than simulating one with a polygon with lots of sides. :)
-Jonathan
----- Original Message -----
From: Orm Finnendahl o.finnendahl@inm.mh-freiburg.de To: pd-list@iem.at Cc: Sent: Wednesday, April 3, 2013 12:01 PM Subject: Re: [PD] Drawing a sine function dynamically in Gem
Hi Alexandros,
attached is an example to do this with vanilla pd using datastructs instead of GEM.
You'll have to save both files (sine-wave-sub.pd and sine-wave.pd) under these names in the same folder and open up sine-wave.pd. The animation should start right away...
Is that what you were looking for?
-- Orm
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