Hi community, I am currently exploring P5js with posenet 2D pose detector. I have currently fiddled around sketched by following objects in the canvas and doing a similar action. I was wondering how can one make some simple interactions. I am , thinking for example to move a rectangular box from one corner of the canvas to another corner using the detected keypoints. I am basically looking for some material to understand how interaction works and if that is even possible.
If any one has explored this and has some theory / example suggestions that would be really helpful.
Regards
T
Hi @josephh does the sketch work for you . It actually throws me an error. It seems like there is a video tutorial on top of that . I will go through it thanks .
However, I would definitely recommend using Matter.js over Box2d. It has better documentation, community support, and is a native JavaScript library instead of a C++ library ported to JavaScript.