Grasshopper

algorithmic modeling for Rhino

Hey Everyone,

On Friday I was trying to create part of a definition to turn on and off my project with the Kinect based on the distance between my two hands.  

The logic I intended to use was:

To turn the project on, the distance between hands must be larger than a value (arms fully extended) and to turn it off, the distance between the hands must be small than a value (hands in prayer position).  The boolean toggle needs to stay in position until the other boolean value is reached.

Attached is the definition using a number slider for input value.

Thanks to Hien for sharing his definition from his kinetic model and to Mike and Ryan.

Views: 1853

Attachments:

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service