Added example canvas code.