Very basic canvas animation framework