Swinging cables

i have some cableconnected boxes here.
and i really would be lucky if somebody could
tell me the trick to get the cables oscillating
physically more natural.

swinging_cable.zip (3.3 kB)

hi guest,
nice patch!

swinging_cable.zip (7.2 kB)

ah! i got it nearly.
only the mouse values have to be deleted.
i mean i need the speed of mouse movement, not the coordinates.


swinging_cable.zip (3.9 kB)

You can use the Node FrameDifference (animation) to get the mouse ‘speed’ and ‘direction’.

FrameVelocity (Animation) between mouseX/Y and the oscilators does it.