# Can some one help me stack and navigate two canvases

**URL:** <https://discourse.processing.org/t/can-some-one-help-me-stack-and-navigate-two-canvases/10315>\
**Category:** Coding Questions\
**Created:** [April 16, 2019, 12:09am UTC](https://discourse.processing.org/t/can-some-one-help-me-stack-and-navigate-two-canvases/10315 "2019-04-16T00:09:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![octaminotin](https://avatars.discourse-cdn.com/v4/letter/o/f475e1/32.png) [@octaminotin](https://discourse.processing.org/u/octaminotin)\
**Post date:** [April 16, 2019, 12:09am UTC](https://discourse.processing.org/t/can-some-one-help-me-stack-and-navigate-two-canvases/10315/1 "2019-04-16T00:09:42Z")

</div>

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);  
}

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [April 20, 2019, 5:17pm UTC](https://discourse.processing.org/t/can-some-one-help-me-stack-and-navigate-two-canvases/10315/2 "2019-04-20T17:17:09Z")

</div>

2 posts were merged into an existing topic: [How do you combine canvases in p5j weather you overlap or organise them](https://discourse.processing.org/t/how-do-you-combine-canvases-in-p5j-weather-you-overlap-or-organise-them/10275)

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [April 20, 2019, 5:17pm UTC](https://discourse.processing.org/t/can-some-one-help-me-stack-and-navigate-two-canvases/10315/3 "2019-04-20T17:17:10Z")

</div>


