– I'm just trying this to see if I can embed some stuff from P5JS on this blog.
In your setup function, create your canvas as follows,
createCanvas(windowWidth, windowHeight);
Then, add a div, and add the iframe inside. Div has properties like overflow:hidden and a fixed position.