9 lines
188 B
JavaScript
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 );
|
||
|
|
||
|
};
|