You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 years ago | |
|---|---|---|
| playground.html | 3 years ago | |
| playground.js | 3 years ago | |
| readme.md | 3 years ago | |
| style.css | 3 years ago | |
readme.md
HTML Playground
small template for having some stuff show up on a canvas. Canvas is dynamically sizing to the viewport. Space for debug info & buttons at the bottom
Structure
Idea being that anything that is 'drawable' gets put into an array, and the render loop just puts those pixels on the canvas.
TODO
- lerp between states
- Should this be in the drawable's render routine?