Your hand in the flow, through the webcam: an open hand stirs the particles, a pinch pulls them in.
What it is for
For playing with the particles live, on stage or while looking for a motion. The hand becomes a spoon in the flow. It needs the webcam hand tracking to be running (Start Webcam); with no hand in the picture the node does nothing.
How it works
The position of the hand in the camera picture is placed on the X/Y plane of the system: left-right across Area Width, bottom-top across Area Length, centred on the system origin. Around that point, with a soft falloff of size Radius, the node adds two motions. Open hand: the particles turn around the hand (counter-clockwise seen from +Z) and are pushed outward a little, in proportion to how open the hand is and to Stir. Pinch (thumb and index together): the particles are pulled toward the hand, scaled by Attract. Everything is multiplied by Strength. The height of the particles is ignored: the hand acts as a column through the whole system, and only moves them on X and Y. It follows the right hand if it is seen, otherwise the left.
Connections
Connect Flow to the Flows input of a Particle System. With Show Hand enabled on the Particle System, a ring of size Radius shows the hand in the viewport; it turns orange while you pinch.
Settings
| Setting | What it does | Default |
|---|---|---|
| Strength | Overall power of the hand, for both the stir and the pinch. 0 = the hand has no effect. | 1.5 |
| Radius | Size of the zone around the hand. The effect is strongest at the hand and fades with distance; beyond about twice the Radius it is negligible. | 2 |
| Stir | Strength of the swirl and push of an open hand. A closed fist does not stir, whatever the value. Negative = turns the other way and draws in. | 1 |
| Attract | Strength of the pull while you pinch. 0 = the pinch does nothing. Negative = the pinch pushes away. | 1 |
| Area Width | Width (X) of the zone covered by the camera picture, in the space of the system. Match it to the width of the particle cloud so your hand reaches every part of it. | 14 |
| Area Length | Length (Y) of that zone: the bottom of the picture is one end, the top the other. | 10 |
Outputs
Flow
Tips
- The system is easiest to play when seen from above or from the front with its X/Y plane facing the camera: the hand moves on that plane.
- The picture is mirrored like a selfie, so the particles follow your hand the way a mirror would.
- The default tree also links the hand's openness to Time Scale: a closed fist freezes the flow. Use the Hand node to drive any other input the same way.