Create pointer reactive
create_pointer_reactiveTurn mouse pointer position and click into normalized u/v, velocity, and button channels exposed on a Null CHOP, ready to bind. Optionally includes a visible feedback trail.
Instructions
Turn mouse/pointer position and click into a first-class creative seed. Builds a Mouse In CHOP → normalized u/v (0..1) + velocity (vu/vv) + button, exposed on a 'pointer' Null CHOP ready for binding: op('…/pointer_reactive/pointer')['u'] / ['v'] / ['button'] / ['vu'] / ['vv']. A Sensitivity knob gains every channel. By default also builds a small visible demo — a bright dot that follows the pointer and leaves a decaying trail over a feedback field — so you immediately see it working; set demo=false to build only the CHOP chain (no image, no preview). multitouch is reserved for a future Panel-COMP touch source; this build always uses Mouse In and reports the limitation as a warning when requested. Creates a new baseCOMP under parent_path. Returns a summary plus a JSON block with the container path, created node paths, the pointer Null path, channel names, exposed controls, any node errors, and warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| demo | No | Also build a visible feedback-field demo the pointer pushes, so you see it working immediately (a bright dot that trails behind the mouse over a decaying feedback field). | |
| multitouch | No | When true, note that true multitouch needs a Panel COMP touch source; this build always uses Mouse In (single pointer) and reports the limitation as a warning. Kept for forward-compat — it does not change what gets built. | |
| resolution | No | Output resolution [width, height] in pixels for the demo feedback field. | |
| parent_path | No | Parent network where the pointer-reactive container is created (default '/project1'). | /project1 |
| sensitivity | No | Gain applied to every pointer channel (u, v, velocity, button) before the output. |