# How do you combine canvases in p5j weather you overlap or organise them

**URL:** <https://discourse.processing.org/t/how-do-you-combine-canvases-in-p5j-weather-you-overlap-or-organise-them/10275>\
**Category:** Coding Questions\
**Created:** [April 14, 2019, 7:56pm UTC](https://discourse.processing.org/t/how-do-you-combine-canvases-in-p5j-weather-you-overlap-or-organise-them/10275 "2019-04-14T19:56:11Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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 15, 2019, 3:15am UTC](https://discourse.processing.org/t/how-do-you-combine-canvases-in-p5j-weather-you-overlap-or-organise-them/10275/6 "2019-04-15T03:15:27Z")

</div>

i got this

```auto
{dot.operator
function setup() {
  createCanvas(400, 500);
}

function draw() {
<iframe1>background(220);
}

{dot.operator
function setup() {
  createCanvas(400, 400);
}

function draw() {
<iframe2>background(320);
  }

```

---

_[View the full topic](https://discourse.processing.org/t/how-do-you-combine-canvases-in-p5j-weather-you-overlap-or-organise-them/10275)._
