Balls with gravitation

Web Workers Demo

Gebouwd met behulp van HTML5, Canvas, Web Workers

  • 117 keer bekeken

Meer over deze demo van de maker

Six balls of random size in a canvas. Each ball computes its moves in its dedicated web worker.

Caveat:
Since web-workers cannot share data, there is a lot of data shuffling. The model may break if a garbage collector strikes in a adverse moment. Anyhow the demo serves as a simple illustration of the concept.

Mehr verblüffend einfache HTML5-Beispiele am am HTML5-Tag 2012-05-31:
http://w3c.html5-tag.de/

Over deze demo

Download de bron 4.91 KB · ZIP-bestand

Deze demo is uitgebracht onder de Apache-licentie.

Meer van HTML5-Tag