bmoren / p5.collide2D

A collision detection library for 2D geometry in p5.js
Other
582 stars 296 forks source link

CDN to latest p5.js & fix consistencies & beautify #41

Closed GoToLoop closed 4 years ago

GoToLoop commented 4 years ago

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.

bmoren commented 4 years ago

Just returning from vacation, will investigate this in depth tonight/tomorrow/early next week. Thank you!

bmoren commented 4 years ago

thank you for all of the tiny bits! looks great!