Experiment 2: Collision Detection

Sections in this Article:

Conclusions

I hope this article has been both educational and fun. I will add additional methods in due course as and when needs arise. This whole section on collision detection is in preparation for the re-creation of the retro game Asteroids using SVG and JavaScript. There will be a complete code listing and tutorial for this when that project is completed, so please check-in to see how things are progressing!

In the meantime, I’m always interested to learn how these articles benefit others or if they can be improved upon. I welcome all constructive feedback, so if you would like to drop me a comment, please do so in the comments section below. I look forward to hearing from you! Good luck and happy programming!