Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

boladeberlin

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

1 Newbie

About boladeberlin

  • Rank
    Newbie
  1. It worked guys thankyou so much and ye it was so obvious but i was stressing so much tha i didnt think corretly. I'm very thankful guys
  2. Good night guys! I am trying to make an animation where the title of my draw are constantly changing color. I am using this function to get the color randomly function tweenToRandomColor(ctx) { TweenLite.to(ctx, 1, {colorProps:{fillStyle:"rgb(" + random(0,255) + "," + random(0,255) + "," + random(0,255) + ")"}, onUpdate:title, onComplete:tweenToRandomColor}); } And here is the function that generates the random values function random(min, max) { return (min + Math.random() * (max - min) + 0.5) | 0; } Here is the functions that ai changing color function t
×