ITUR

Hand

Live values of the hand seen by the webcam: position, distance to the camera, opening, pinch, raised fingers, rotation and presence.

What it is for

Lets you play the particles with your hand: move a force, open the hand to speed the simulation up, pinch to tighten a vortex. Reach for it for live sets, installations, or to find a setting by feel instead of typing numbers.

How it works

A separate tracker reads the webcam as a mirror image, finds the hands and sends their values to Blender; the node outputs the latest ones, unsmoothed. X goes from 0 (left of the image) to 1 (right) and Y from 0 (bottom) to 1 (top), measured at the palm. Depth goes from 0 (hand far from the camera) to 1 (close to it), read from the size of the hand in the image. Open is 0 for a fist and 1 for a flat hand. Pinch is 0 when the thumb and index tips touch and 1 when they are apart. Rotation is an angle in degrees: 0 when the hand points up, positive when it leans to the right of the image, negative to the left. Fingers is the number of raised fingers, 0 to 5. Present is 1 while a hand is detected and 0 otherwise. With no hand, the outputs rest at X 0.5, Y 0.5, Depth 0.5, Open 1, Pinch 1, Fingers 0, Rotation 0. Older files may show a Height output: it is the same value as Y, kept so they keep working. Every output is one value for the whole system, the same for all particles.

Connections

No input. Start the tracking first: sidebar of the node editor > GPU Particles tab > Hand Control > Start Webcam (the webcam components must be installed). Outputs X, Y, Open, Pinch, Height, Rotation and Present go into any number input: the Strength of a force, the Time Scale of the Particle System, a Map Range to set the range, a Combine XYZ to build a position.

Settings

SettingWhat it doesDefault
HandWhich hand is read. Any: the right hand when it is seen, otherwise the left one. Right / Left: only that hand; when it is not in view the outputs go to their rest values and Present is 0.
  • Any
  • Right
  • Left

Outputs

X, Y, Open, Pinch, Height, Rotation, Present, Depth, Fingers

Tips

See also

Map RangeHand ForceMonitorSlow Motion