Get this example: 2.41_RibbonTracking.gh (15.8 KB)
This colorful ribbon geometry was created with Fologram’s simple live motion tracking components in Grasshopper. If you’re looking for interesting ways to make use of Fologram’s tracking tools, this example will turn your device’s location into an input parameter for your design.
Motion capture tools are notoriously expensive, time consuming to setup and difficult to capture recorded content. Fologram;s tracking tools are a simple solution to motion capturing from any device connected to a session. In this example, a mobile device is tracked in Fologram to create a colorful ribbon in grasshopper that follows the device location. The ribbon twists based on its curvature, and grows or shrinks in width depending on the movement speed from the mobile device.
The example uses Fologram’s ‘track device’ component to track the location of any device connected to the session in real time. This is then represented as a lofted surface derived from a twisting algorithm based on the curvature at each control point along the curve. The width of the ribbon varies by measuring its distance from the previous tracked point, which tethers the width to the speed of the device. A mesh colour gradient is applied to the vertices of the Mesh at the end of the definition.
Want to learn more about Fologram’ tracking tools? Check out our “The 3 best ways to track live geometry in mixed reality with Fologram” article to find out more!