Receive data from a leap motion external device.
Official Leap Motion Docs
The module is organized in five sections :
Each data sections can be Enabled/Disabled to optimize performance and cpu load
About units of data delivered :
Connect the module to the leap motion.
ON if the connection is confirmed.
2 modes:
Frame number of the leap motion, useful to check if we miss some frames.
See LeapMotion.com : hand attributes for more infos about data definition.
Spheres parameters describe a sphere that is placed and sized to fit into the curvature of the hand.
num hands: Number of hands detected by the leap motion.
enable hands: Enable the hands section data tracking, each array of this section will have the size of the number of hands mentioned below, ie. 1 or 2.
hands id: Id of each hands, it's a unique number identifying each hand and stay the same as long as the hand is tracked.
hands num fingers: Number of fingers detected for each hand.
spheres pos x: The x position coordinate of the sphere.
spheres pos y: The y position coordinate of the sphere.
spheres pos z: The z position coordinate of the sphere.
spheres radius: The radius (in millimeter) of the sphere.
hands valid: Validity indicator(0 or 1) for hands params provided by the leapmotion driver.
See LeapMotion.com : hand attributes for more info's about data definition.
enable palms: Enable the palms section data tracking, each array of this section will have the size of the number of hands mentioned below.
palms hands id: Id of each hands, it's a unique number identifying each hand and stay the same as long as the hand is tracked.
palms pos x: The x position coordinate of the palm.
palms pos y: The y position coordinate of the palm.
palms pos z: The z position coordinate of the palm.
palms dir x: The x direction vector of the palm.
palms dir y: The y direction vector of the palm.
palms dir z: The z direction vector of the palm.
palms vel x: The x velocity of the palm.
palms vel y: The y velocity of the palm.
palms vel z: The z velocity of the palm.
palms nor x: The x normal vector of the palm
palms nor y: The y normal vector of the palm
palms nor z: The z normal vector of the palm
palms valid: Validity indicator(0 or 1) for palms parameters provided by the leap motion driver.
See LeapMotion.com : finger and tool models for more info's about data definition.
num fingers: Number of total fingers detected (including all hands), can detect up to twenty fingers.
enable fingers: Enable the fingers section data tracking, each array of this section will have the size of the number of fingers mentioned below.
fingers id: Id of each fingers, it's a unique number identifying each finger and stay the same as long as the finger is tracked.
fingers hand id: Id of each fingers hand, it's a unique number indicating each finger's hand and stay the same as long as the finger is tracked.
fingers pos x: The x position coordinate of the finger.
fingers pos y: The y position coordinate of the finger.
fingers pos z: The z position coordinate of the finger.
fingers dir x: The x direction vector of the finger.
fingers dir y: The y direction vector of the finger.
fingers dir z: The z direction vector of the finger.
fingers vel x: The x velocity of the finger.
fingers vel y: The y velocity of the finger.
fingers vel z: The z velocity of the finger.
fingers length: The radius (in millimeter) of the finger.
fingers is tool: is this finger considered as tool (0 or 1).
fingers valid: Validity indicator(0 or 1) for fingers parameters provided by the leap motion driver.
See LeapMotion.com : gestures for more info's about gestures definition.
Enable the gestures data tracking.
Gesture detected by the leap motion provided in an array.
Description ID data1 data2 data3 data4 data5 data6 data7 data8 data9 data10 data11
swipe left 200 start pos X start pos Y start pos Z stop pos X stop pos Y stop pos Z duration pointable id direction X direction Y direction Z
swipe right 201 start pos X start pos Y start pos Z stop pos X stop pos Y stop pos Z duration pointable id direction X direction Y direction Z
swipe up 202 start pos X start pos Y start pos Z stop pos X stop pos Y stop pos Z duration pointable id direction X direction Y direction Z
swipe down 203 start pos X start pos Y start pos Z stop pos X stop pos Y stop pos Z duration pointable id direction X direction Y direction Z
swipe forward 204 start pos X start pos Y start pos Z stop pos X stop pos Y stop pos Z duration pointable id direction X direction Y direction Z
swipe backward 205 start pos X start pos Y start pos Z stop pos X stop pos Y stop pos Z duration pointable id direction X direction Y direction Z
circle clockwise 206 center pos X center pos Y center pos Z radius progression duration pointable id normal X normal Y normal Z
circle counterclockwise 207 center pos X center pos Y center pos Z radius progression duration pointable id normal X normal Y normal Z
key tape 208 pos X pos Y pos Z duration pointable id
screen tape 209 pos X pos Y pos Z duration pointable id
Hint text displayed on mouse over.
Background color of the control.
transparent option must be OFF.
Blue background color example.
Determines if the background of the control is transparent or not.
Example, the first module is transparent.
Background color when the control is modified by a remote (MIDI,OSC,etc.).
Optional Filename of the background image.
Only PNG, JPEG and BMP formats are supported.
Use [ctrl+click] to reset.
Example on an panel-xy-pad.
Force the image file to adapt its displayed size to the size of the object.
See manipulate-bitmaps.
Background bitmap input.
Use [CTRL + Click] to reset the input.
Background bitmap output.
Displays or not the border of the control.
8 pixels border on an panel-xy-pad.
Sets the border width of the control in pixel.
8 pixels border on an panel-xy-pad.
Border color of the control.
a yellow border on an panel-xy-pad.
Border color when the control is OFF.
a black OFF border on a switch.
Border color when the control is ON.
a white ON border on a switch.
Thickness of rounded corners.
0 = no rounded corners.
Example on a panel-shape.
Enables or disables the drawing of a border when the control is selected with the mouse.
Displays or not the caption.
Example on a fader.
Caption alignment of the control, left, center or right.
Vertical alignment of the caption, center, top or bottom.
Example on knob: Center, top and bottom.
Example on switch.
Size multiplication factor applied to the caption font.
Example on switch.
Font name of the control caption.
Example with 3 different fonts on switch.
Color of the caption font.
Example on switch.
Italic style for caption font.
Example on switch.
Bold style for caption font.
Example on switch.
Underline style for the caption font.
Example on switch.
See using-drag-drop.
Enables the drag on this control.
Enables or disables the drag&drop possibilities on this control.
Name of the dropped file.
Clears the latest dropped file name.
Determines if the control can be modified by the user. When OFF, the mouse interaction and modifications are disabled so the user can't change the value.
Sets or get the visibility of the control.
Global color of the control. Usine will choose the best contrasted colors according the global color.
When ON the global color of the control is not affected (is isolated) when the parent control global color changes.
Name of the snapshot (which contains the visual properties) loaded when the object is created. By default the snapshots files are located in /Resources/Snapshots/
or /Config/Snapshots
.
the snapshot name can be without extension ie. LIGHT CLASS
instead of LIGHT CLASS.tuknob_tab_design
Determines the Z-order of the control
Example with the first knob on top.
Opacity value of the control.
0 will give a totally transparent control so invisible.
Blur amount applied to the object.
Example of blur.
Be careful, the blur softness use shaders which are not supported by all graphic cards.
It can crash Usine.
Displays or not the header on the panel.
Example on sequenced-lines.
Height of the header in pixels.
Background color of the header.
Determines if the header is drawn as a plain bar (HH5 style) or as small bar in the upper left corner.
plain ON
plain OFF
Determines if the horizontal scroller is visible or not.
The scroller appears only if the container is smaller than the controls inside.
Example of horizontal scroller
Height of the scroller in pixels.
Scroller color.
Scroller opacity.
visible only in god mode, see setup-panel-tab-expert.
Current private id for this control.
If you experience difficulties in Polyphonic mode, try to recreate new id(s) with this button.
Each Patch shared on the local network uses its own ID (identification number). If you experience issues of Patches that don't send information to the good target, this button will rebuild all these id's.
Opens the web browser to display information's or help about the selected object, if it exists.
For more details about information/help creation, see create-help-file.
Determines where the object is visible.
When the location is set to a container which doesn't exist in the patch, Usine try to find in parent patches, the first container available. If no container is available an error message is displayed.
Sets the control as an additional container so any other control can be placed into that container. The additional container is identified by a number.
a button inside a listbox
When ON, will also be visible in the interface-builder-panel.
Gives the mouse state of the control:
In multi-touch environment, can be an array of [0..1] values.
Gives the mouse wheel speed and direction, -1,-2,-3,...=forward, 1,2,3,...=backward.
Enables or disable the mouse wheel action.
Sends a 1 value if the user has [dbl-clicked] on the control.
Determines if the mouse is active on the control.
Gives the mouse X position on the control in relative coordinates from 0=most-left to 1=most-right.
In multi-touch environment, can be an array of [0..1] values.
Gives the mouse Y position on the control in relative coordinates form 0=top to 1=bottom.
In multi-touch environment, can be an array of [0..1] values.
Pressure value on touch-screens.
The pressure value is not available on all touch screens.
Gesture information's.
In touch and multi-touch environment, returns an array of the fingers movements See multi-touch
When ON, the value of the control is reset automatically on mouse up.
When ON, move up-down to rotate a knob, left-right when OFF.
Sends a 1 value when the control is hovered with the mouse.
Sends 1 when the control is mouse overed.
Sends 1 when the control is selected.
Top position of the control in pixels.
Left position of the control in pixels.
Height of the control in pixels.
Width of the control in pixels.
Horizontal position in % [0..1] relative to the parent panel.
Vertical position in % [0..1] relative to the parent panel.
Height in % [0..1] relative to the parent panel.
Width in % [0..1] relative to the parent panel.
Top position in pixels in the interface-builder-panel.
Left position in pixels in the interface-builder-panel.
Width in pixels in the interface-builder-panel.
Height in pixels in the interface-builder-panel.
Rotation angle of the control.
Rotates this control in vertical position.
Zoom scale of the control.
Determines is the control can be zoomed with the wheel mouse.
Determines if the control can be resized with the resize grip.
Determines if the control is minimized or not.
Determines if the control is movable on X axis.
Determines if the control is movable on Y axis.
When ON the control stays inside the parent on X axis.
When ON the control stays inside the parent on Y axis.
TpgControl_Button.floating content parent y
Determines if the control can be resized on its left hand.
Determines if the control can be resized on its right hand.
Determines if the control can be resized on its top hand.
Determines if the control can be resized on its bottom hand.
See physics-engine
Enables physics-engine in this panel.
The physics speed of the control in physics-engine.
When ON, the physics-engine starts with a random speed for each child controls.
When ON, all controls have the same masses in the physics-engine.
The position control is not affected by the physics-engine.
Friction factor in the physics-engine.
Energy conservation coefficient on collision.
Gravity factor on the X axis.
Gravity factor on the Y axis.
Position of the object when the physics engine is reset on X axis.
Position of the object when the physics engine is reset on Y axis.
Angular speed of the control in the physical engine.
Sends a 1 value when the control collides with another control or a border.
Gives information about the collide state in the physics-engine.
Speed vector value on the X axis in the physics-engine.
Speed vector value on the Y axis in the physics-engine.
Automatically reorganize positions of controls in the panel.
Left margin used in reorganization, in pixels.
Interspace between controls used in reorganization, in pixels.
Resizes panels automatically when child controls are moved or resized. Switch it OFF if you use floating panels inside.
Margin in pixel used for the auto resize option.
Adjust the panel width to a multiple of the default rack width.
In unlock mode, snap the control to a grid.
Grid size in pixels when snap to grid is ON.
Displays the toolbar with its icons.
Example ON and OFF
Height of the toolbar % of the global height.
Example toolbar size on a panel.
version 6.0.240115
Edit All Pages