window height fill code p5.js code example Example: p5 get screen width createCanvas(windowWidth, windowHeight);