10 Hours of Coding-Intro to JS: Drawing and Animation-Part 6
In this hour I started the lesson "Animation Basics".I completed two challenges. One was the "Exploding Sun" and the other was "Parting Clouds.
I learned how to animate code using "draw = function() {};. To make an animation you use this code. Anything you put between the code will repeat, therefore becoming an animation. Then to make the size get larger or for the object to move I used X-=;. You put a number after the "=" and it makes it that much bigger every time.
In the next hour I will be finishing the "Animation Basics" lesson.
No comments:
Post a Comment