Add PosePointer to a web page in one line
Paste this before </body> on any page served from tommytai.dev. Your hand then drives the page like a mouse or touchscreen: it sends standard pointer, mouse and touch events, with one pointer per hand. The page's own code does not change. The camera and hand model run in the browser, and no frames leave it.
<script src="/pp/pp.js" data-app="my-app" data-autostart data-preset="pinch-palm-ready" data-view="pip" data-assets="vendor/"></script>
The tag loads the PosePointer version listed for my-app in /pp/versions.json, so every app runs one shared, versioned package, and swapping or rolling back a version is one edit there. Add ?pp=0.1.4 to a page address to try another listed version for one visit.
Show an open palm, then pinch your thumb and index finger to click. Hold the pinch and move to drag. Mouse and touch keep working.
Limits: events from a page script are marked untrusted by the browser, so CSS :hover, fullscreen and file pickers do not react to them. The PosePointer Chrome extension sends real input and has neither limit.
Click
Clicks:
Double click
Double clicks:
Drag
Moved: px
Slider
Value:
Scroll
Pointer log
Last event:
Pointer ids seen: