Basic Physics Engine - Stage Edge Collision, with rebound / Gravity and Friction
-
To simple get a bouncing ball interact with the outline of a person using a kinect would be mind blowing. To hit a persons leg and bounce off, etc.
It would open up a world of ideas and possibilities. -
The V8 engine core handles garbage collection.
The JS features are the 'built in functions', and nothing from DOM/web stuff.I think this list breaks it down: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects (although its Mozilla, and not Google)?@Skulpture :) Thats the sort of think I am working towards.... a tutorial will come if I am successful. -
No need for node.js for this..My tests are going well. I have a modified version of Goblin physics running. (I picked this one since it seems to have zero dependencies and was created to be platform independant)So far so good. -
Hello,
I am currently working hard on the Isadora/Unity connection. researching on programming and understanding of C#.My project is principally linked ro real time 3D (geometrically exact) mapping with moving surface, more as anamorphosis opposed to corner pin. The project allow use of shifted beamers on complicated surfaces, via Syphon and OSC.The inherent possibilities inside Unity 3D concerning gravity, collisions etc. are huge! And that will be the next step to explore.I am preparing a demo and a communication on this material for the next London Isadora conference, any idea of a precise time?I would be very pleased to share some info with you on the question.All the best, Jacques -
@DusX - Goblin Physics just caused Izzy to CTD whenever I tried to crowbar it in there. Dunno what was causing it. Abandoned it to play with CoffeePhysics... which I've had some success with, altho defining the bounds of the world to the bounds of the stage seems impossible. Look forward to seeing your Goblin Physics implementation.
-
I am in contact with the dev.
I got it working, but collision is an issue.. (hard crash) The dev has been very helpful... soI hope to get further soon.BUT... I have box2Dweb working great! (no 3D sorry) I hope to have more news soon. -
Phisical Modelling (for pure data) port for Isadora is possible. The author is an old friend Cyrille Henry (Mark met him when I invited both on a workshop ar the Monaco Dance Forum in December..... 2004).
Cyrille is an open source guy so everything is available for c people and for Javascript. Can't do any of them but here is a big helpready, set... [pmpd](https://puredata.info/downloads/pmpd) -
@Armando, thanks
I will take a look at that.Where I am with this so far,A proof of concept for 2D physics in Isadora :)https://youtu.be/nGRrwlWq14E -
@DusX: I got it working, but collision is an issue.. (hard crash) The dev has been very helpful... so
_I hope to get further soon._Yep - that was about where I'd gotten to with it. Spotted the dev using the .on method in collision events to monitor his listeners and there my Goblin-fun stopped. It's only dependency is that it requires something to provide that event layer for collisions.
Instead have spent some time adding weight to the NI Mate Skeleton (i.e.: adding 3d torso and limb objects to the skeleton output) - each individual object done in CInema4D so i can get out the mesh co-ords to throw into whatever ends up being suitable for 3D use, and chucked that all into an Izzy patch.So, I've got my 3D Avatar ready to place in the 3D space and collide with, all scalable to suit different builds of person, so that the collisions can occur with a suitable surface rather than a line with a static radius added. -
Modification of original patch - 10 x balls available. 3D position / collision / gravity / friction.
NB: Collision point is still unfortunately) centre point of each ball, not surface point, mainly because at this stage the radius / diameter of each ball is determine by the ALL scale value on each 3D Player which comes after the JS. AND, balls still don't come to an actual stop. Zip file contains Ball and Plane OBJ files. -
http://www.creativeapplications.net/processing/kinect-physics-tutorial-for-processing/
The video in this is amazing! -
Hmm.. I need a connect.
-
-
too late for the indiegogo campaign
-
yep, it finished a few days ago.
-
@DusX if you weren't in Canada I'd send you over one of mine...!
-
Where are you @Marci ?
-
Near Leeds, UK. @skulpture - I tried that Processing sketch this evening. Sadly many outdated modules and deprecated functions so a bit of rewriting to get it running with the modern replacements - not quite there yet. I want to use it to get the polygon vectors for the kinect's silhouette - that could then be handed to Izzy's JS actor via OSC, and give us the missing complex polygon mapped to Kinect user outline.
-
Ah that's a shame. I was working my way through it too. Got the first example working. Basic rgb/ir one.
-
@skulpure With nimate can you get a set of xy points for body parts and joints?