HEIGHT
The height of the canvas.
Example
setCanvas(elem);
function draw(){
for(i = 0 ; i < HEIGHT ; i+=10){
new line(0,i,WIDTH,i,`hsl(${i/3},100%,50%)`,3);
}
}
draw()
The height of the canvas.
setCanvas(elem);
function draw(){
for(i = 0 ; i < HEIGHT ; i+=10){
new line(0,i,WIDTH,i,`hsl(${i/3},100%,50%)`,3);
}
}
draw()