If you're seeing this message, it means we're having trouble loading external resources for Khan Academy.
If you're behind a web filter, please make sure that the domains
*.kastatic.org and *.kasandbox.org are unblocked.
Advanced JS: Games & Visualizations
A quick tour of the many components of games and visualizations, demonstrated by some of our favorite programs.
Learn how to use translate(), rotate(), and scale() for easier manipulation of the shapes in your programs.
Learn how to change between multiple scenes in your program, even if they're animated or interactive.
Learn how to create clickable buttons for your programs that are easy to customize.
Learn how to make a simple side scroller, where you press a key to get your beaver to collect enough sticks for their den. You could easily extend this to make your favorite flappy game!
Ever played the game where you flip over cards and try to find pairs? Learn how to program a digital version of it!