Ok I am so far from understanding, so don't take this as any kind of math lesson. Also, every time I thought I knew what I was doing.... pygame would show me differently. Still a work in progress, but for now, something to play with. Update: SinWaveTime class added to produce that particular weaving effect Tinkering with the different sin wave variables: I wrote this piece separate from my 3D experiment to see how to manipulate the sin wave. While trying to use time as the factor to move my pygame draw circle on the x-axis, i got this crazy little doo-dad : I don't think it's drawing two circles at once, but if I figure out what the heck it's doing I'll let you know. Or hey if you know, drop a comment. I don't know if my comments are just not working, or no one wants to. So, here's some pygame code to play with the sin wave. Alter the different variables to see it in action. picture of SinWave.move_with_time() see changes, SinWaveTime c...
Comments
Post a Comment