I found that in a lot of my experiments, I wasn't getting a whole lot of trail behind my form. This trail is being created by the repeating background having a low opacity (actually its a rectangle the size of the background) and I already had it done really low.
I found out that my simplifying down the code i've been using for the motion of the lines in my form, it actually allows for a slightly longer, more dynamic trail. I don't know the real reason for this, but I'm thinking perhaps it's because the complex code was lagging the program? I'm not sure.. but with it simplified (i.e less sin waves inside of sin waves etc) it seems to be more smooth and have longer trails. :)
There is also a more dynamic and fluid curve when the form turns corners, which I like.
In code, my functions went from:
r = (200. * math.cos(1000*6.28*z+phaseX) + 5. * math.sin(3. * 6.28 * z)) * math.sin(3.14*z)
q = (200.* math.sin(1000*6.28*z+phaseY) + 5. * math.sin(3. * 6.28 * z)) * math.sin(3.14*z)
To:
r = ((scale) * math.cos(1000*6.28*z+rphase)) * math.sin(3.14*z) #path of form
q = (scale * math.sin(1000*6.28*z+qphase))
I guess it also shows that all of the code in the initial functions wasn't having a hugely beneficial impact on the form i was going for.


No comments:
Post a Comment