Files
animate/webGl/my-threejs-test/node_modules/three/examples/jsm/offscreen/offscreen.js
2024-06-24 21:24:00 +12:00

9 lines
188 B
JavaScript

import init from './scene.js';
self.onmessage = function ( message ) {
const data = message.data;
init( data.drawingSurface, data.width, data.height, data.pixelRatio, data.path );
};