Curving a Rainbow
I'm trying to create an actor where the user can swipe and it will draw an arched rainbow. I figured out how to make it draw a straight line rainbow, but I can't figure out how to make it curved. Does anyone have any suggestions? Thanks.
![image](http://dl.dropbox.com/u/24146145/rainbowbar.png)
Comments
the best you can do is :
http://gamesalad.com/forums/topic.php?id=16974
Check the vids a few posts into the thread showing the real time corners
It's not ideal, but works using the sin function.
I knew I should have paid better attention in calculus... but oh boy that was so long ago. Ha.