Need help with annotated-code?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

maryrosecook
218 Stars 24 Forks MIT License 64 Commits 0 Opened issues

Description

A series of short, heavily annotated JavaScript programs

Services available

!
?

Need anything else?

Contributors list

# 71,244
JavaScr...
pusher
HTTP
Clojure
64 commits

Annotated code

A series of short, heavily annotated JavaScript programs.

Space Invaders

Demonstrates an animation loop, collision detection, keyboard input, drawing to the canvas and playing sounds.

A screenshot of Space Invaders

To read the annotated source, open

/space-invaders/docs/space-invaders.html
in your browser.

Circles bouncing off lines

Demonstrates some simple trig that calculates the movement of circles as they bounce off lines.

An animation of circles bouncing off lines

To read the annotated source, open

/circles-bouncing-off-lines/docs/circles-bouncing-off-lines.html
in your browser.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.