evanw / glfx.js

An image effects library for JavaScript using WebGL
https://evanw.github.io/glfx.js/
MIT License
3.26k stars 402 forks source link

override canvas dimensions? #57

Closed zoehusky closed 2 years ago

zoehusky commented 2 years ago

Is there a way to set canvas width and height or other parameters before canvas.draw()? It keeps on automatically setting itself to the same size every time.

Rodario commented 2 years ago

Did you find a solution to this? I currently have a similar problem.