Can some one help me stack and navigate two canvases

i got this so far

{dot.operator
function setup1() {
iframe>createCanvas(400, 500);
}

function draw() {
background1(220);
}

{dot.operator
function setup2() {
iframe>createCanvas(400, 400);
}

function draw() {
background2(320);
}

2 posts were merged into an existing topic: How do you combine canvases in p5j weather you overlap or organise them