soulwire/sketch.js

size of canvas

Closed this issue · 2 comments

i'm a beginner . i'm not able to follow your documentation
can you tell me how to vary the size of canvas?

Sure, just pass the dimensions you want to the constructor, like so:

Sketch.create({
    fullscreen: false,
    width: 500,
    height: 500
});

thanks