Create a renderer, draw a 2D noise texture with it, then destroy the used resources, while returning the generated texture in the form of a canvas.
The resolution of the end result
A starting value can be 15
A starting value can be 1
Ignore WebGL2, even when it's available
Create a renderer, draw a 2D noise texture with it, then destroy the used resources, while returning the generated texture in the form of a canvas.