Skip to content

Releases: bmoren/p5.collide2D

0.7.3

04 Jul 00:09
Compare
Choose a tag to compare

fixes issue with collidePolyPoly() detecting only when p2 is inside p1, but not when p1 is inside p2. It now works both ways thanks to @tektsu !

sync with CDN version #

29 Jun 19:16
Compare
Choose a tag to compare

The CDN's required a version number bump to properly sync so this will bring the releases up to the same number.

Add vector versions of each function

24 Jun 16:00
Compare
Choose a tag to compare

thank you to @wisehackermonkey for all of the work to add vector functions to the library!

Using this library with vectors

As of June 2020, this library now supports vector version of all functions. Simply use the function names below with Vector added onto the function name to utilize the vector version of the function. The function's arguments take in vectors instead of x/y values. Each of the examples below now has a commented example to demonstrate vector usage. We will be updating the documentation and examples in the future to make this distinction more clear. This in no way affects the original functionality of the library.

//Use vectors as input
let p1 	= createVector(100,100);
let mouse = createVector(mouseX,mouseY);
hit = collidePointPointVector(p1,mouse,10)

adding point Ellipse & documentation

28 Nov 16:50
Compare
Choose a tag to compare

Thanks to @fidoaf for adding collidePointEllipse() !

I've added an auto generated min file. This is untested, if there are issues please report and divert to the un-minified version.

point arc

07 Jun 20:07
Compare
Choose a tag to compare
point arc Pre-release
Pre-release

Adds collidePointArc(), thank you to @davidgranstrom && @ognjenvucko

p5.collide2D alpha

26 Mar 23:08
Compare
Choose a tag to compare
p5.collide2D alpha Pre-release
Pre-release

Support for instantiated sketches & addition of minified version.
thank you @conradoqg

p5.collide 2D alpha

21 Feb 03:53
Compare
Choose a tag to compare
p5.collide 2D alpha Pre-release
Pre-release

fixed point/point

p5.collide2D alpha

05 Feb 16:07
Compare
Choose a tag to compare
p5.collide2D alpha Pre-release
Pre-release

Initial alpha release of this library as p5.collide2D. Please report any issues to the issues tab.

p5.collide 2D alpha

30 Dec 16:11
Compare
Choose a tag to compare
p5.collide 2D alpha Pre-release
Pre-release

2D functions only