soulwire / sketch.js

Cross-Platform JavaScript Creative Coding Framework
MIT License
4.09k stars 430 forks source link

Make ctx and counter variable member of the create function #33

Closed nitriques closed 11 years ago

nitriques commented 11 years ago

Those two lines must be moved into the create function in order to be able to control mutiple canvases on the same page.

var ctx;
var counter = 0;
nitriques commented 11 years ago

See #34