Canvas Grid Animation

Random inner squares appear in a grid every 0.5 seconds using the HTML5 canvas API.