Finger pens

This demo combines plugin landmark history with visual history compression. The hands plugin is configured with its own history, and the shader samples older landmark positions to connect strokes from whichever fingertip is currently farthest from the thumb.

It is also a good performance example. The render loop returns skipHistoryWrite from play so history is only written every few frames. The active fingertip changes color, so you can see the gesture-selection logic while drawing.

View source