Mastering HTML5 Canvas Essential Design Patterns for JavaScript Developers
Im starting to get into graphical programming using the Canvas API but I havent seen any design patterns for reusing canvas code So far Ive only seen examples
{ Code - Sleep - Repeat }