Simple HTML/Javascript pages that describe bouncing balls using the canvas element.
All of these were coded very quickly, <45 minutes, using a simple coding process:
- STATE THE BIG PROBLEM
- STATE A SMALLER SUBPROBLEM
- SOLVE THE SMALLER SUBPROBLEM
- REPEAT
This framework trades clarity and extensibility for speed and simplicity. It is easier, but less effective in the long-term.
Clone the repo and access the html files locally in your browser.