canvas-prime
canvas-prime copied to clipboard
Final cleaning pass
Private methods and functions should be used to reduce the scope index size wherever possible. Also a few other things need to be cleaned / done as follows
- Reduce Scope Index
- more private vars
- revise methods
- Replace toString with Math.round to prevent floatNumber and string creation
- Draw placed into loop as a separate entity
- Draw swapped with loader draw temporarily
- Fix timers with a proper delta time on animate method
- Look into improving methods in general
- General cleaning review
- Proper error handeling