soegaard / whalesong

Whalesong: Racket to JavaScript compiler
http://hashcollision.org/whalesong
145 stars 14 forks source link

big-bang doesn't clear up canvas on each tick #12

Closed vishesh closed 9 years ago

vishesh commented 9 years ago

For example mouse.rkt in examples. Rendering in each each tick is done over previous tick canvas. Any ideas @schanzer?

vishesh commented 9 years ago

I've created a small patch which clears up canvas. Let me know if its a right approach

https://github.com/vishesh/whalesong/commit/08cab14e9d61f4f6e840e2253dc434486c59fee4

schanzer commented 9 years ago

Yes - this is definitely correct