Gyroball - abstractresearch/weightshift GitHub Wiki

Goal

To create and control a feedback loop using NCLOTH.

Demo

feedbackloop

To demonstrate a feedback loop, we create an elongated sphere that would normally topple. But due to solving it's center point, up and aim vectors we counter-act the toppling force by applying an appropriate deformation to the original geometry.

  1. A sphere is created (and oriented).
  2. Sphere is elongated
  3. Center point, aim and up vectors are solved
  4. Elongated sphere topples and feeds orientation back into step 1

The result is an elongated sphere that never falls over.

Architecture

Feedback loops within an NCLOTH simulation is typically cause for undefined behaviour. To circumvent this, we break the direct loop of influence by passing relevant data through the Python Programming Language which may perform queries prior to evaluation of the final shape. This produces an effect in which the current influences the future.