Web Workers API Demo

Web Workers allow JavaScript to run in background threads, enabling CPU-intensive tasks without blocking the UI.

Web Workers: checking...

Prime Number Calculator

Calculate prime numbers up to a given limit. Try with/without a worker to see the difference.

This animation should stay smooth when using a worker
Results will appear here...

Fibonacci Calculator

Calculate Fibonacci numbers using a dedicated worker.

Result will appear here...

Message Passing

Send custom messages to a worker and receive responses.

Messages will appear here...

API Support