HTML5 Canvas example of Decorator Pattern
Abstract Factory Pattern example (Unfinished)