Q&A #6: p5.js Sketch as Background
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: https://patreon.com/codingtrain
Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics
Contact: https://twitter.com/shiffman
Source Code for the Video Lessons: https://github.com/CodingTrain/Rainbow-Code
p5.js: https://p5js.org/
Processing: https://processing.org
For More Creative Coding Q&A: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Z1JcqC1iG1oEsJrLX1IK5L
For More HTML/CSS/DOM Videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bI1SlcCRfLH79HZrFAtBvX
Help us caption & translate this video!
http://amara.org/v/YS3o/
📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct