I'd like to create a "rainbow" class which draws a rainbow given start and end coordinates. the best thing would be if it is "animated" like in attached gif
I am not sure I understand it completely though (my weak math skills.. :-B ) May I use yours again?
Do you think it's possible to tweak this so that it disappears from its origin instead of "rewinding" itself (see previous gif)?
How would you link it to 2 dynamic points (ie 2 clicks - first to set the origin, the other to set the "pot of gold" ) ? I thought about using skew, but how do I translate coordinates on screen to the "right" skewing value?
Comments
EDIT: Something like that ?
Likes: pie
I am not sure I understand it completely though (my weak math skills.. :-B )
May I use yours again?
Do you think it's possible to tweak this so that it disappears from its origin instead of "rewinding" itself (see previous gif)?
How would you link it to 2 dynamic points (ie 2 clicks - first to set the origin, the other to set the "pot of gold" ) ?
I thought about using skew, but how do I translate coordinates on screen to the "right" skewing value?
thank you a lot!
Likes: pie
now I must study it