Thursday, December 12, 2024

Google’s Mandelbrot Demo Uses JavaScript and HTML5’s Canvas

Google this week showed off its latest demo–called the Mandlebrot set, which performs feats that previously required a supercomputer. This version of the Mandelbrot set uses JavaScript and HTML5’s Canvas element to do the muscle work.


The Julia Map project is at the heart of the new demo, and uses a new web standard called Web Workers than allows the browser to run some background processing tasks at the same time the typical user-interface tasks are accomplished as usual.


The Google Maps interface is used to control zooming and panning, and JavaScript is used for the number crunching, while the canvas element is used for 2D drawing.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Popular Articles

Featured