In this Q&A, I look at how to place a p5.js sketch as a full background on a web page. I cover HTML/CSS concepts such as the CSS property “z-index”) as well as p5.js functions like windowResize() and resizeCanvas().

Support this channel on Patreon:

Send me your questions and coding challenges!:

Contact:

Source Code for the Video Lessons:

p5.js:
Processing:

For More Creative Coding Q&A:

For More HTML/CSS/DOM Videos:

Help us caption & translate this video!