Search the Community
Showing results for tags 'offscreencanvas'.
Found 1 result
Running Engine on worker thread
ssaket posted a topic in Questions & AnswersHi devs, yesterday, I was reading about the OffscreenCanvas (https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas) and found one cool demo at https://developers.google.com/web/updates/2018/08/offscreen-canvas; Then I decided to give it a go by creating https://codepen.io/anon/pen/ReEGxp, but the engine fails to initialise at the worker thread reason- "window not found !" ; Is there any way by which I can bypass this check ? I tried passing canvas context but no results ! It is supported by Three.js.. so I guess, shouldn't be an unknown area to explore