Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/pmndrs/p2-es
JavaScript 2D physics library
https://github.com/pmndrs/p2-es
some work on raycasting, raycastClosest seem to work, still WIP
533794eb5fd74a358aad45fa9d9c195a0e7d4db0 authored almost 10 years ago
533794eb5fd74a358aad45fa9d9c195a0e7d4db0 authored almost 10 years ago
initial work on Ray and RaycastResult, related to https://github.com/schteppe/p2.js/issues/149
88740c699f9e5b3173d58ebe06330c8a7e6e2d2e authored almost 10 years ago
88740c699f9e5b3173d58ebe06330c8a7e6e2d2e authored almost 10 years ago
Merge branch 'mccraveiro-master'
6ddc796e5dc68f5d0e8fb01e7473b3aa29ba1a52 authored almost 10 years ago
6ddc796e5dc68f5d0e8fb01e7473b3aa29ba1a52 authored almost 10 years ago
revert build files
67e4eb22b211dfea96deef8653e85b0a1c6f443a authored almost 10 years ago
67e4eb22b211dfea96deef8653e85b0a1c6f443a authored almost 10 years ago
Fixed objects constructors
4924ebeb275f07f13beec5863eb73b3610bf22f8 authored almost 10 years ago
4924ebeb275f07f13beec5863eb73b3610bf22f8 authored almost 10 years ago
Merge branch 'master' of github.com:schteppe/p2.js
e1cd43aed98590acbfd374c17fe39ba2bc101515 authored almost 10 years ago
e1cd43aed98590acbfd374c17fe39ba2bc101515 authored almost 10 years ago
updated license
3c29202b247da4cebcd00b4d222cd8c5fb58a6ee authored almost 10 years ago
3c29202b247da4cebcd00b4d222cd8c5fb58a6ee authored almost 10 years ago
removed unnecessary error throw
88dc6e3b067342040b7d5c106a60321a4230d44c authored almost 10 years ago
88dc6e3b067342040b7d5c106a60321a4230d44c authored almost 10 years ago
Update README.md
491c6dc918fd64443bb75df928e38f5465481935 authored almost 10 years ago
491c6dc918fd64443bb75df928e38f5465481935 authored almost 10 years ago
initialize idleTime for Body instances correctly
02ecb382868861374006b81d1027bb2380066088 authored almost 10 years ago
02ecb382868861374006b81d1027bb2380066088 authored almost 10 years ago
using the same RequireJS trick as in cannon.js
efc734478bb4028abbfbd41a9dfe8f55500917a0 authored about 10 years ago
efc734478bb4028abbfbd41a9dfe8f55500917a0 authored about 10 years ago
.collisionResponse flag for Body and Shape
e0b210b50a60492496f7b9942f7da57e2a167794 authored about 10 years ago
e0b210b50a60492496f7b9942f7da57e2a167794 authored about 10 years ago
Fixed stupid bug preventing damping to be changed during simulation.. Thanks to @Fishrock123!
d1c7a340c42e4d5d1d939fba5fd13c5e49d6abd2 authored over 10 years ago
d1c7a340c42e4d5d1d939fba5fd13c5e49d6abd2 authored over 10 years ago
removed doProfiling and broadphase:SAP options in demos, not needed
3802602a60eb1f0102ff2a02ca9cd285058cfcc3 authored over 10 years ago
3802602a60eb1f0102ff2a02ca9cd285058cfcc3 authored over 10 years ago
changed default broadphase algorithm to SAP
e51c91cbf282db9c8e8ca03183ddb8d61e3b70c0 authored over 10 years ago
e51c91cbf282db9c8e8ca03183ddb8d61e3b70c0 authored over 10 years ago
a little stricter jshint
5d446abbad549e3d73116699e301089ef7b44b59 authored over 10 years ago
5d446abbad549e3d73116699e301089ef7b44b59 authored over 10 years ago
minor code and docs edits
1a131f991aed0e3a0fbdd387a7e400fde0be0a71 authored over 10 years ago
1a131f991aed0e3a0fbdd387a7e400fde0be0a71 authored over 10 years ago
initial work on worker example. https://github.com/schteppe/p2.js/issues/62
ae718b0015bf8d65a4e0317e64e8d7fa7d84a948 authored over 10 years ago
ae718b0015bf8d65a4e0317e64e8d7fa7d84a948 authored over 10 years ago
added .hideGUI option to Renderer
badb7cf4646df912e01bb9822b2c8fe4b6c62c7b authored over 10 years ago
badb7cf4646df912e01bb9822b2c8fe4b6c62c7b authored over 10 years ago
polished docs a bit
07cedee7ccd1a0a5ee1f82a349908f0cca9d92d4 authored over 10 years ago
07cedee7ccd1a0a5ee1f82a349908f0cca9d92d4 authored over 10 years ago
Bugfix in endContact event https://github.com/schteppe/p2.js/issues/118
403badfa8f80104481a018bd5fcb025e59998268 authored over 10 years ago
403badfa8f80104481a018bd5fcb025e59998268 authored over 10 years ago
link fix for readme
12b00326288d72dce0610f62e62067dadbfe0daf authored over 10 years ago
12b00326288d72dce0610f62e62067dadbfe0daf authored over 10 years ago
updated demos & examples lists
3e70d4ae824816483669cb8ed380985c2886662b authored over 10 years ago
3e70d4ae824816483669cb8ed380985c2886662b authored over 10 years ago
updated docs to v0.6.0
bab058f9e31e6835d89baf25388197d7c6b7fe57 authored over 10 years ago
bab058f9e31e6835d89baf25388197d7c6b7fe57 authored over 10 years ago
minor docs fix
5bc9b239114a8ff6972b218b9f471af7dabe90f1 authored over 10 years ago
5bc9b239114a8ff6972b218b9f471af7dabe90f1 authored over 10 years ago
minor demo title update
74b974184c31374a6c67153d1186cf80a2fbf729 authored over 10 years ago
74b974184c31374a6c67153d1186cf80a2fbf729 authored over 10 years ago
updated builds
34564b783983555032c9fa15d252593be6fa7926 authored over 10 years ago
34564b783983555032c9fa15d252593be6fa7926 authored over 10 years ago
Added rotational spring to spring demo. Looks good!
c1bcaffe57b62a83a61a7bcbeeeba76b18fdbfe8 authored over 10 years ago
c1bcaffe57b62a83a61a7bcbeeeba76b18fdbfe8 authored over 10 years ago
adding some examples to the constructor docs
0c7989dc6f5f4daf36a9ca60939cd522d289d933 authored over 10 years ago
0c7989dc6f5f4daf36a9ca60939cd522d289d933 authored over 10 years ago
removed z-schema dependency, not needed any more
cdc9d768cda5f074c44a5018d84847c5ae8efa31 authored over 10 years ago
cdc9d768cda5f074c44a5018d84847c5ae8efa31 authored over 10 years ago
jshint fixes
77d08f0faa0eaba0a90888a8d5848a40206ddb32 authored over 10 years ago
77d08f0faa0eaba0a90888a8d5848a40206ddb32 authored over 10 years ago
jshint+test in default Grunt task. Removed webworkerify task since changing the browserify globals setting made it work anyway.
19c438f48cd5555319f09acabcb766fa0ab512f7 authored over 10 years ago
19c438f48cd5555319f09acabcb766fa0ab512f7 authored over 10 years ago
updated docs
228d2146c0986c08f9c202ee5146e0bcd5a331d3 authored over 10 years ago
228d2146c0986c08f9c202ee5146e0bcd5a331d3 authored over 10 years ago
Copy-pasted in needed vec2 methods from glmatrix, this will save some bytes. Using browserify auto-detect globals. Changed name of GLMAT_ARRAY_TYPE to P2_ARRAY_TYPE.
168017bb8631e79d8f122ac64ec3b0e6f5988c6c authored over 10 years ago
168017bb8631e79d8f122ac64ec3b0e6f5988c6c authored over 10 years ago
Turns out yuidoc can only ignore folders. Putting the glmatrix file in a folder so it can be ignored.
5c0f1e6b9f986e6e3a8b0b5e34f177ebdac4c38a authored over 10 years ago
5c0f1e6b9f986e6e3a8b0b5e34f177ebdac4c38a authored over 10 years ago
Moved the gl-matrix vec2.js file from build/ to the math folder.
8c255c351790ca9268a0bf9db50e638388244f86 authored over 10 years ago
8c255c351790ca9268a0bf9db50e638388244f86 authored over 10 years ago
World.prototype.sleepMode, replaces .enableBodySleeping and .enableIslandSleeping, fixes https://github.com/schteppe/p2.js/issues/117. Also removed World.prototype.toJSON and .fromJSON
a3557689776c59fc63c409bc0edd195a72b2ea13 authored over 10 years ago
a3557689776c59fc63c409bc0edd195a72b2ea13 authored over 10 years ago
Update README.md
d3f5e14b8297e1fb28f115961740c106cb9ada57 authored over 10 years ago
d3f5e14b8297e1fb28f115961740c106cb9ada57 authored over 10 years ago
fixes to make the p2.renderer.js bundle work in jsfiddle https://github.com/schteppe/p2.js/issues/115
037fa3d9856b1c86afba793446701816715446ff authored over 10 years ago
037fa3d9856b1c86afba793446701816715446ff authored over 10 years ago
console logging the global variables added by the setup function https://github.com/schteppe/p2.js/issues/115
a85dc4c3ab0ca14c01678a0aec0e9a1bde85be6a authored over 10 years ago
a85dc4c3ab0ca14c01678a0aec0e9a1bde85be6a authored over 10 years ago
more instructions in console https://github.com/schteppe/p2.js/issues/115
b1879bf9704fbdfd90c6209f266fb386cfaba86e authored over 10 years ago
b1879bf9704fbdfd90c6209f266fb386cfaba86e authored over 10 years ago
new constructor for the renderer and other improvements https://github.com/schteppe/p2.js/issues/115
5ad4d79d7f47abb8559e87438b1aa3294f8c989c authored over 10 years ago
5ad4d79d7f47abb8559e87438b1aa3294f8c989c authored over 10 years ago
added watch task for renderer files
3be2f061ac73fd09ebbe2200b175305b423b2c2a authored over 10 years ago
3be2f061ac73fd09ebbe2200b175305b423b2c2a authored over 10 years ago
changed name of Demo and PixiDemo, updated bundling of them. https://github.com/schteppe/p2.js/issues/115
c36831ad455c0726b9af1b9bb0e62e3b87b484f0 authored over 10 years ago
c36831ad455c0726b9af1b9bb0e62e3b87b484f0 authored over 10 years ago
removed jquery dependency from demo https://github.com/schteppe/p2.js/issues/115
00d0c3d90b5d8c41cec112eb7b8c2b714705be20 authored over 10 years ago
00d0c3d90b5d8c41cec112eb7b8c2b714705be20 authored over 10 years ago
Changed to dat.gui in demos. https://github.com/schteppe/p2.js/issues/115
a9d9ff6a62400ab81db1f8147eb90c3db73e661f authored over 10 years ago
a9d9ff6a62400ab81db1f8147eb90c3db73e661f authored over 10 years ago
cleanup demo css https://github.com/schteppe/p2.js/issues/115
548b2f795bd466b434e7b7ca6019eec34267b0e5 authored over 10 years ago
548b2f795bd466b434e7b7ca6019eec34267b0e5 authored over 10 years ago
Bundling the demo classes and dependencies. https://github.com/schteppe/p2.js/issues/115
3d6f88770d11704d6d6bc71e681abf41800bee47 authored over 10 years ago
3d6f88770d11704d6d6bc71e681abf41800bee47 authored over 10 years ago
Merge pull request #114 from Fishrock123/master
Material: allow custom id & do checks by id
3f7316263524b3924322337163b3ed7436328550 authored over 10 years ago
Prettier code and more tests for Narrowphase
b24946d4e1d43346a5b21b16dc745c551bb2c289 authored over 10 years ago
b24946d4e1d43346a5b21b16dc745c551bb2c289 authored over 10 years ago
capsule AABB bugfix
0ba8a8519275d6317200cded0eebe24aabd00d35 authored over 10 years ago
0ba8a8519275d6317200cded0eebe24aabd00d35 authored over 10 years ago
moved contactSkin handling to the ContactMaterial and ContactEquation instead. Added property .contactSkinSize to ContactMaterial. https://github.com/schteppe/p2.js/issues/106
c801395b4236ab112a59eb9acfffc0298817ff2d authored over 10 years ago
c801395b4236ab112a59eb9acfffc0298817ff2d authored over 10 years ago
Narrowphase.prototype.convexCapsule code fixes
b3bff75883da983318ae00b34bf5ddca674245b7 authored over 10 years ago
b3bff75883da983318ae00b34bf5ddca674245b7 authored over 10 years ago
Clean up Narrowphase.prototype.circleConvex
da0862fa23ebfb2287b6b12e0c12869dda91e704 authored over 10 years ago
da0862fa23ebfb2287b6b12e0c12869dda91e704 authored over 10 years ago
Added LinearSpring and RotationalSpring, plus tests https://github.com/schteppe/p2.js/issues/104
1640b74a9a4951ea94e103fc0b09151d16da92d2 authored over 10 years ago
1640b74a9a4951ea94e103fc0b09151d16da92d2 authored over 10 years ago
Material: allow custom id & do checks by id
This allows you do things were you may need to
have separate material instances that should be
...
updated comments in interpolation example. https://github.com/schteppe/p2.js/issues/113
afecfebda98fa91a5c6803402082c93c7dcad104 authored over 10 years ago
afecfebda98fa91a5c6803402082c93c7dcad104 authored over 10 years ago
debug drawing AABBs in Demo https://github.com/schteppe/p2.js/issues/108
5e11e17ad231ca07f7dd407c204068e3d9a88a2f authored over 10 years ago
5e11e17ad231ca07f7dd407c204068e3d9a88a2f authored over 10 years ago
added Body.prototype.getAABB()
eb027a3a363b1405c1e218b19873b2d87c64c552 authored over 10 years ago
eb027a3a363b1405c1e218b19873b2d87c64c552 authored over 10 years ago
added fixed viewport size to all demos
d27bba1b2204b485726eec416fc4d3a9e6ce5236 authored over 10 years ago
d27bba1b2204b485726eec416fc4d3a9e6ce5236 authored over 10 years ago
Line shape offset+angle rendering. Fixes https://github.com/schteppe/p2.js/issues/109
1c678f89df5bc1130e33083b9a6d3e8610d13c34 authored over 10 years ago
1c678f89df5bc1130e33083b9a6d3e8610d13c34 authored over 10 years ago
initial work on contactSkin, still not implemented for all shape collisions https://github.com/schteppe/p2.js/issues/106
ef4c4d65f2ebdba9988e5a5450edee04995d78cd authored over 10 years ago
ef4c4d65f2ebdba9988e5a5450edee04995d78cd authored over 10 years ago
Using convex precision in only normal direction. Stacking is a lot better!
3034edeeedbf61bbf0634c14d36106d8388e5a22 authored over 10 years ago
3034edeeedbf61bbf0634c14d36106d8388e5a22 authored over 10 years ago
not clearing contact graphics in PixiDemo loop
2236dd590c80f09f07143e2922f48a945c2f48fe authored over 10 years ago
2236dd590c80f09f07143e2922f48a945c2f48fe authored over 10 years ago
added optimized convexConvex narrowphase, but commented out for now. Needs more testing
295a0fc79a5bbd15047fc003e4b96fb5afd98bb5 authored over 10 years ago
295a0fc79a5bbd15047fc003e4b96fb5afd98bb5 authored over 10 years ago
optimized aabb.setFromPoints
34dfe046188e56cd0b2aeeb7f455ef413d3be051 authored over 10 years ago
34dfe046188e56cd0b2aeeb7f455ef413d3be051 authored over 10 years ago
vec2.rotate check for zero angle
95b5b2c7a547a4b3bc862cde10b54f3ec9e63d9b authored over 10 years ago
95b5b2c7a547a4b3bc862cde10b54f3ec9e63d9b authored over 10 years ago
initial work on axes in Convex. https://github.com/schteppe/p2.js/issues/94
71df3ef86c16475a00dd7e55275bae6df8f66f83 authored over 10 years ago
71df3ef86c16475a00dd7e55275bae6df8f66f83 authored over 10 years ago
dont rotate if angle is zero
3f4011df6492d6946f11c41bb37c5f66fb429f51 authored over 10 years ago
3f4011df6492d6946f11c41bb37c5f66fb429f51 authored over 10 years ago
AABB optimization: dont rotate if angle is zero
ecfaccf7f93f04ea4367ffd7f29c1bd32811845c authored over 10 years ago
ecfaccf7f93f04ea4367ffd7f29c1bd32811845c authored over 10 years ago
Mousejoint example. Fixes #105
a4db5ecd6fb61738404f006eba1ba0c702141861 authored over 10 years ago
a4db5ecd6fb61738404f006eba1ba0c702141861 authored over 10 years ago
Merge branch 'master' of github.com:schteppe/p2.js
0785c240afce8a199c1718f146ec42a76267db6e authored over 10 years ago
0785c240afce8a199c1718f146ec42a76267db6e authored over 10 years ago
initial work on drawing rectangles in Demo #100
d6ca30db0093984cbd0da708ba3ea6f80598e7e5 authored over 10 years ago
d6ca30db0093984cbd0da708ba3ea6f80598e7e5 authored over 10 years ago
initial work on drawing rectangles in Demo
6dd20a49c551b7bece754397b20570d577776806 authored over 10 years ago
6dd20a49c551b7bece754397b20570d577776806 authored over 10 years ago
code cleanup
98f2106c61ccd5188916221760ba66cf5df1dc6a authored over 10 years ago
98f2106c61ccd5188916221760ba66cf5df1dc6a authored over 10 years ago
using interpolation in demos again
7b2dfebe7119d34f777137d538745f496fc500f3 authored over 10 years ago
7b2dfebe7119d34f777137d538745f496fc500f3 authored over 10 years ago
First draft of limits for DistanceConstraint. #102
df306378edc516c26e92d68ab08264c95f013a44 authored over 10 years ago
df306378edc516c26e92d68ab08264c95f013a44 authored over 10 years ago
World.prototype.removeSpring bugfix. Fixes #101.
5913b9c572e5c8e5240ed7b4c9c1970d6937747d authored over 10 years ago
5913b9c572e5c8e5240ed7b4c9c1970d6937747d authored over 10 years ago
constructing DistanceConstraint with default distance between anchor points instead of centers
07f162519bd0edd5d78316ef4d034b21fb1d52c0 authored over 10 years ago
07f162519bd0edd5d78316ef4d034b21fb1d52c0 authored over 10 years ago
minor demo updates
7fd679e9f112d4008212eaebf5fcb6784e3bf180 authored over 10 years ago
7fd679e9f112d4008212eaebf5fcb6784e3bf180 authored over 10 years ago
minor comment
6b908a8b337f80277012067ef3669919e3009a15 authored over 10 years ago
6b908a8b337f80277012067ef3669919e3009a15 authored over 10 years ago
added setLimits to PrismaticConstraint
de51f00a0b2757029da32ab3a4aa7816557cf2c0 authored over 10 years ago
de51f00a0b2757029da32ab3a4aa7816557cf2c0 authored over 10 years ago
added initial frame for some demos
55f81fd531fb499c1baa2b285ac1db3eba38ec85 authored over 10 years ago
55f81fd531fb499c1baa2b285ac1db3eba38ec85 authored over 10 years ago
added framing support for PixiDemo
88276bd9876e060bb60caae0433998dcf8ff1a4b authored over 10 years ago
88276bd9876e060bb60caae0433998dcf8ff1a4b authored over 10 years ago
made it possible to pass type into Body constructor options
9dde782fc00625974723fa3d4218e5b6de9ae83c authored over 10 years ago
9dde782fc00625974723fa3d4218e5b6de9ae83c authored over 10 years ago
simpler LockConstraint construction. Part of https://github.com/schteppe/p2.js/issues/86
af2a84e53ed5d1c0e77d67e2bbb3f0596442c8e1 authored over 10 years ago
af2a84e53ed5d1c0e77d67e2bbb3f0596442c8e1 authored over 10 years ago
added RevoluteConstraint.prototype.setLimits, and used it in ragdoll demo
de4e454d0100d6400438c66c699f618f60b4d878 authored over 10 years ago
de4e454d0100d6400438c66c699f618f60b4d878 authored over 10 years ago
minor: removed todo comments
126760b9ccf527ed1e820690dda79e9382996070 authored over 10 years ago
126760b9ccf527ed1e820690dda79e9382996070 authored over 10 years ago
Constructor changed for RevoluteConstraint, breaks backwards compatibility. Part of #86
47719071f748e38e9455d97b0b0be2ae2cd99c5d authored over 10 years ago
47719071f748e38e9455d97b0b0be2ae2cd99c5d authored over 10 years ago
Pinch zoom touch support in PixiDemo
11963e59ffaa5f77af2c41a4e70db4eec213ca7f authored over 10 years ago
11963e59ffaa5f77af2c41a4e70db4eec213ca7f authored over 10 years ago
PixiDemo improvements
d5d441f80314a5fdb294ed466f6fe8a5c6297123 authored over 10 years ago
d5d441f80314a5fdb294ed466f6fe8a5c6297123 authored over 10 years ago
minor jshint fixes
c5722a0efd818bdd2e7bfa6b1d23eed2f8b7c81e authored over 10 years ago
c5722a0efd818bdd2e7bfa6b1d23eed2f8b7c81e authored over 10 years ago
using fullscreen and devicePixelRatio in Demo + PixiDemo
519b9ea805b98bf1eda79f07d81c78c805039ead authored over 10 years ago
519b9ea805b98bf1eda79f07d81c78c805039ead authored over 10 years ago
update distanceconstraint
cb9d4dd6ad4087d0424fcb96eaa3f6e89ffb1f03 authored over 10 years ago
cb9d4dd6ad4087d0424fcb96eaa3f6e89ffb1f03 authored over 10 years ago
setting the offset angle to the current in GearConstraint. Will make it easier to set up. Part of #86
7795d04f6d24009d008979f9508597bdb9035b27 authored over 10 years ago
7795d04f6d24009d008979f9508597bdb9035b27 authored over 10 years ago
Renamed property .motionState of Body to .type
3456a448eedd5d5d3043b58b8d7071f523805192 authored over 10 years ago
3456a448eedd5d5d3043b58b8d7071f523805192 authored over 10 years ago
minor jshint fixes
bd202475e54546cf409aed8543474eeb41bfe74e authored over 10 years ago
bd202475e54546cf409aed8543474eeb41bfe74e authored over 10 years ago
added flag .enableFrictionReduction to Narrowphase, until the feature is stable enough. Default is true.
99c0e71fe51da3564353a1975c08792dabbbf3cf authored over 10 years ago
99c0e71fe51da3564353a1975c08792dabbbf3cf authored over 10 years ago
narrowphase optimizations
a45580eaf05572050abe56d602007e7e47ce04f2 authored over 10 years ago
a45580eaf05572050abe56d602007e7e47ce04f2 authored over 10 years ago
Merge pull request #92 from georgiee/fix-gmult-again
Gmult is now gmult
09aadee60b5c3181e8a998338842eaade6596a33 authored over 10 years ago