function setup() { let c = createCanvas(100, 100); background(255, 0, 0); saveCanvas(c, 'myCanvas', 'jpg'); }