demo for canvas