offscreen.js 186 B

12345678
  1. import init from './scene.js';
  2. self.onmessage = function ( message ) {
  3. var data = message.data;
  4. init( data.drawingSurface, data.width, data.height, data.pixelRatio, data.path );
  5. };