Create hand gesture bus
create_hand_gesture_busBuild a hand gesture bus that outputs debounced palm and pinch channels from synthetic or MediaPipe source to control holograms, lasers, and audio.
Instructions
Build a stable MediaPipe-hands gesture bus for palm holograms, lasers, audio controls, and other hand-reactive visuals. Outputs a Null CHOP with debounced palm and pinch channels: palm_open, float_x/y, palm_size, pinch_active, pinch_power, scale_target, light_gain, and audio_level. Defaults to a synthetic two-hand source so it previews without a camera; source='mediapipe' uses setup_hand_tracking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mirror | No | ||
| source | No | synthetic | |
| tox_path | No | ||
| comp_name | No | hand_gesture_bus | |
| max_hands | No | ||
| smoothing | No | ||
| parent_path | No | /project1 | |
| adapter_name | No | mp_hand_adapter | |
| hold_seconds | No | ||
| pinch_radius | No | ||
| fast_smoothing | No | ||
| hand_chop_path | No | ||
| expose_controls | No | ||
| pinch_open_dist | No | ||
| pinch_threshold | No | ||
| active_hand_lock | No | ||
| coordinate_space | No | world | |
| pinch_close_dist | No | ||
| pinch_arm_seconds | No | ||
| pinch_radius_scale | No |