Drawing a Mandelbrot set, using a Web Worker for computation

This example shows how to use the browser.worker module to keep an application responsive while making relatively complex computing (here the famous Mandelbrot set). Sorry, Brython can't make the demo work on your browser ;
check if ECMAScript is turned on

Draw with the mouse

Not very interesting, but shows that the script remains responsive while the Mandelbrot set is built.