Hello,
attached patch is inspired from code found in link you provide:
for (int i = 0; i< width; i++){ px2 = width/8 + cos(radians(angle2))*(radius); py2 = 75 + sin(radians(angle2))*(radius); point(width/8+radius+i, py2); angle2 -= frequency2; }
using Gem and recursion
Colet Patrice
De: "Alexandros Drymonitis" adrcki@gmail.com
I want to build this visual http://processing.org/learning/trig/ in Pd, but I want the sine curve to be drawn dynamically with every circle spin. It seems quite hard though.
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. Anyone knows how to do this?