Changed p5.js' CDN link to always grab latest:
<script defer src="https://unpkg.com/p5"></script>
As p5.collide2D already does:
<script defer src="https://unpkg.com/p5.collide2d"></script>
But then I've just noticed the examples lacked consistency and needed to be beautified too.
So I've taken this challenge as well! Check the code examples' "new look" on the link below:
https://github.com/GoToLoop/p5.collide2D/tree/patch-1
Also changed ellipse() to circle() when both diameters were the same value.
Changed p5.js' CDN link to always grab latest:
<script defer src="https://unpkg.com/p5"></script>
As p5.collide2D already does:
<script defer src="https://unpkg.com/p5.collide2d"></script>
But then I've just noticed the examples lacked consistency and needed to be beautified too. So I've taken this challenge as well! Check the code examples' "new look" on the link below: https://github.com/GoToLoop/p5.collide2D/tree/patch-1
Also changed ellipse() to circle() when both diameters were the same value.