bigbang function starts a new universe whose behaviour is
specified by the options and handler functions designated.
- Purely functional event handlers like
on_ticktransform the world from one state to the next.
- The world is drawn on the appropriate canvas by the
- Clock ticks are optional and also provide "clock mode", where changes are queued and drawing happens every actual clock tick (which is useful for games).
snake game w/ bigbang.coffee