html5

Creating Fractals with Web Workers

Michael Jacobsen
A Web Worker makes it possible to run Javascript code without blocking the user interface. That is, computations can be made in the background without locking the user interface. A Web Worker is created as follows // Main script var worker = new WebWorder( url ); where url must point to a Javascript file. The script is started immediately. This article describes the ‘standard’ Web Worker, not the ‘shared’ Web Worker.