VINIT AGARWAL | UC
SANTA CRUZ
Alex Pang's Computer Science 161:
Animation & Visualization, Winter '09
Breakable Tethered-Elastic Band Simulation
The goal behind this project is to simulate
a user-controlled object
tethering to arbitrary
masses of different weight, via an elastic
band that is dynamically destructible depending on the tension
at
each point on the band.
Demonstration Images
Band Shattering
Arbitrary Mass Releasing
Band Stretching
Video of Simulation in
Action
User Guide
NOTE: The program MUST be used with a dual
analog stick joystick to work properly due to the nature of the
simulation, needing to affect both the source and end effector of the
tether.
I have used a Wired
Microsoft Xbox 360 Controller.
Controls:
HOME/END - Grow/Retract
the tether
Left Joystick - Move
source
Right Joystick - Rotate
end effector
The simulation simulates a tether that is composed of many
uniform masses connected together via springs. Moving the left joystick
moves the head of the tether that is heavier than the
in between nodes, and moving the right joystick rotates the
tether in the direction of the right joystick's vector. Enough force on
the tether will cause it to snap at a point of high tension on
the tether. Connecting the end effector to a mass is as simple as
touching it. The larger the mass seems to appear, the heavier it is.
Each mass in the tether is 50 grams, while the head
mass is 100kg, and the smallest to largest mass of the three
masses are 5kg, 10kg, and 20kg respectively.
SOURCE/EXECUTABLE
source
exec