Multitouch Boids

A cluster of colourful boids that follow your fingers

Construit avec JavaScript, Canvas, Mobile, Multi-touch

  • 5102 vues

L'auteur nous en dit plus sur cette démo

This demo uses multitouch events, canvas and JavaScript to create a cluster of boids that roam the screen until one or more fingers touch it. The boids will change colour and follow a specific finger.

This demo is intended to run in a mobile device, like a mobile phone or a tablet. Should work on Firefox, Chrome and Safari. If there are no touch events, just use your mouse and click to disturb the boids.

There's an option to use the Fullscreen API. It's a bit screwy on some mobile browsers.

You can add a number in the URL hash to change the number of boids (e.g. #100 or #250).

À propos de cette démo

Téléchargez le fichier ZIP · 4.17 Ko

Cette démo est fournie sous la licence GPL.

Plus par spite