<div dir="ltr"><div><div>Hi Stephen,<br></div>your patch is nice, and I didn't think of data structures for some reason. But I'll also give a try to Cyrille's suggestion. What I'd like is to have the evolution of the sine without anything appended to it, like the values in the array that haven't been set yet, you know what I mean?<br>
</div>Thanks for sharing.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 3, 2013 at 3:25 PM, Stephen Lucas <span dir="ltr"><<a href="mailto:s9lucas@gmail.com" target="_blank">s9lucas@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I made a similar PD patch a while back that has the same instructional purpose as that processing sketch.<div>
<br></div><div>However, I used data structure graphics and vanilla objects so it's not going to translate directly into GEM if that's the route you want to go.</div>
<div><br></div><div>If it's helpful to you, enjoy.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Stephen</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Wed, Apr 3, 2013 at 4:59 AM, Cyrille Henry <span dir="ltr"><<a href="mailto:ch@chnry.net" target="_blank">ch@chnry.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hello,<br>
<br>
you have lot's of solution to draw a sinus curve in Gem.<br>
<br>
the easiest would be to use scopeXYZ, but you'll have to do the sin in audio signal.<br>
<br>
the most efficient is to use gemvertexbuffer to draw a line between points specified in table.<br>
<br>
the fastest to code is to use repeat/separator/curve 2 in order to draw many lines<br>
<br>
you can also do like in openGL : using GEMglBegin, GEMglVextex (many of them thanks to an iterative loop), and GEMglEnd<br>
<br>
you can also do that in shader, but that would be to much complexity for this.<br>
<br>
and you can certainly find other way to do that, but i think i cover the most used.<br>
cheers<br>
c<br>
<br>
<br>
Le 02/04/2013 23:18, Alexandros Drymonitis a écrit :<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
I want to build this visual <a href="http://processing.org/learning/trig/" target="_blank">http://processing.org/<u></u>learning/trig/</a> in Pd, but I want the sine curve to be drawn dynamically with every circle spin. It seems quite hard though.<br>
<br>
I don't know which object would be best. I tried either [curve] but the parameters are way too many and I'm not sure if precision is really possible. Then I tried [square 0.008] in combination with [repeat] but also doesn't work.<br>
Anyone knows how to do this?<br>
<br>
<br></div>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/<u></u>listinfo/pd-list</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>