# New feature: Multi canvases rendering

**URL:** <https://forum.babylonjs.com/t/new-feature-multi-canvases-rendering/6426>\
**Category:** Announcements\
**Created:** [October 17, 2019, 11:04pm UTC](https://forum.babylonjs.com/t/new-feature-multi-canvases-rendering/6426 "2019-10-17T23:04:14Z")\
**Posts on this page:** 1\
**Showing post:** 30

<div class="post-metadata">

**Author:** ![aFalcon](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/afalcon/32/7015_2.png) [@aFalcon](https://forum.babylonjs.com/u/aFalcon)\
**Post date:** [October 23, 2019, 5:37pm UTC](https://forum.babylonjs.com/t/new-feature-multi-canvases-rendering/6426/30 "2019-10-23T17:37:27Z")

</div>

> MULTI-CANVAS-STRESS-TESTS:

* * *

TEST: Multi-Canvas Simultaneous 4 scenes

RESULT: ~60FPS

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/a/a842e93789c3a83e9b4ec6d12015168b13fd482e.png)

* * *

TEST: Multi-Canvas Simultaneous 8 scenes

RESULT: ~50-60FPS

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/8/8d5a528829960e83c0cfcf774f15b2eef3462708.png)

* * *

TEST: Multi-Canvas Simultaneous 16 scenes

RESULT: ~40-60FPS

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/9/9c8799144acba82cfaa077b2d0bf4cad516a63de.png)

* * *

TEST: Multi-Canvas Simultaneous 32 scenes

RESULT: ~30-60FPS

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/e/eea97a83db883b05927905849687b0db11426e66.png)

* * *

* * *

NOW FOR SEQUENTIAL TEST… using 32 scenes HIDDEN and showing one at a time (10 sec).

> Is it still ~30-60FPS or 60FPS???

😁

Any guesses?

> **[Babylon.js Playground](https://playground.babylonjs.com/#L1TX4W%234)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

🦅

* * *

* * *
This is why we run TESTS. The results contained TWO GOOD SURPRISES.

Because (as usual) aFalcon makes a mistake - and it turned out to be a performance optimization. I dont know why.

* * *

FIRST - the SEQUENTIAL TEST - 32 scenes (formerly 30FPS) (without the mistake)

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/3/3d6995c0970e002d7ffc227ef7cfe98ec28ef79d.png)

RESULT: solid 60FPS (you might’ve guessed)

SECOND - the SEQUENTIAL TEST (with the mistake of NON-REPLACEMENT)

- not hiding the other scenes that were just shown (oops)

RESULT: SURPRISE! SOLID 60FPS… what???

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/f/f25beee1b5007b41e7533262178721ca0d841c36.png)

Anyone know why? aFalcon will just store this away somewhere.

* * *

Ok now FOR THE BIG TEST!!!

100 scenes (with replacement) - is there a performance hit???

WARNING: this is DANGEROUS. 🐉

* * *

TEST: 100 SEQUENTIAL SCENES - with REPLACEMENT:

RESULT: ~60FPS

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/b/bc3f7d1fc3cf018afac444eebbe9da492afd8f11.png)

TEST it yourself:

> **[Babylon.js Playground](https://playground.babylonjs.com/#L1TX4W%237)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

* * *

CONCLUSION: aFalcon thinks this is GREAT for making Motion~Picture~Shows in BABYLON.

Thanks @Pryme8.

🦅 : )

* * *

UPDATE: just in case YOU were wondering… and I know you were!

TEST: 1000 scenes  
RESULT: 60FPS  
 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/9/9ab48d416978ae8a8f5ca2f2d98de4aafb7f393a.png)

I dont know why. And we are going to keep working with this in the future.

---

_[View the full topic](https://forum.babylonjs.com/t/new-feature-multi-canvases-rendering/6426)._
