Web Worker Demo

This demo shows how Web Workers can be used to make websites more responsive by offloading CPU-intensive work from the main thread. The source code is available on GitHub.

Try generating a color palette from a given image both with and without a worker. Notice that without a worker, the time freezes during the processing, and you can no longer interact with the form.

The current time is: