Showing posts with label KhanAcademy. Show all posts
Showing posts with label KhanAcademy. Show all posts
BrainBender: Togglers
Problem is posed in first 5 minutes. Give yourself 24 Hrs to solve, then watch the second half to check your solution (or find relief).
Taking the "Truth-Teller Amongst Togglers Dilemma" to bed with me-- find the truth-teller in only two questions:
Intro To JavaScript: Drawing & Animation
I am learning new things. Thank you, Khan Academy.
From THAT:
- Decide what side of the canvas you want the star to start from, the top, bottom, left or right, and position your star there.
- Decide what direction you want the star to move in. Change the variables inside
draw
so that the star moves the way you wanted. - Add another star or other shape, and animate it going in a different direction.
- Bonus: Change the star into a different shape, or have it shoot out of a cannon.
- Bonus: Add a backdrop, like a starry night or skyscrapers.
ASSIGNMENT
To THIS:
*REFRESH MAY BE REQUIRED TO VIEW ANIMATION, I HAVEN'T LEARNED LOOPING QUITE YET*
Subscribe to:
Posts (Atom)