Babylon.js Offscreen Canvas demo

This test page is intended to demonstrate the use of Babylon.js in a worker thread. The left canvas is using Babylon.js directly from the main thread. The right canvas is using an offscreen canvas and the rendering is done using a worker thread. By clicking on the button below, we will simulate some random but heavy operations on the main thread to highlight why working with an offscreen canvas could be useful.
Click here for more documentation.
UI thread
Worker thread
Please wait loading...