An example showing how to detect collision between two circles (uses HTML5/JS).
See example running and brief explanation here: http://kishimotostudios.com/articles/circle_collision/
Um exemplo mostrando como detectar colisão entre dois círculos (usando HTML5/JS).
Veja o exemplo rodando e breve explicação aqui: http://kishimotostudios.com/articles/circle_collision/