Use environment variables: width and height.

Link: https://editor.p5js.org/MOQN/sketches/NR-8RMY9- Slide location: 2.R Interactive Drawing