## Bubble woman(by alaric)

http://www.izpitera.ru/lj/tetka.swf

This thing is interesting, yet sincerely odd.

The way it works is quite simple; as far a I can tell, the woman is composed of a number of points (at her joints and extremities) joined by ideal springs that represent her body sections. The force in each spring is its elasticity times the length of the spring (eg, the distance between the two points it joins) and the spring's normal length. Then for each point, the vector sum of the spring forces is computed, plus gravity, plus any bubble bounce forces, and an acceleration on the point computed from that force divided by the point's preset mass (chosen to make her move right) - F=ma. The system would track the position and velocity of each point; the acceleration is vector-added to the velocity, then the velocity vector-added to the position, to get the position for the next frame.

By the looks of it the bubble bounce forces are worked out thus. If a point is within the radius of a bubble, then a force radially outwards from the centre of the bubble to the point is added to the point's vector sum, with a magnitude related to the distance of penetration into the bubble. I'm not sure if it's a linear, quadratic, power, inverse, or what kind of relationship, but it's probably superlinear.

Pages: 1 2

### 1 Comment

• By Charlotte, Fri 9th Sep 2005 @ 6:26 pm

I don't like it. It scares me.