A simple example to show how does canvas work