| Deformable Model Pseudo-Code: |
| Initialize α1, α2, α3, and α4. |
| Begin A: Model Evolution. |
| Begin B: External Force Update. |
| Step 1: Update fu and fv; |
| Step 2: Update u and v using u′ = u + fu·Timestep, v′ = v + fv·Timestep |
| End B |
| Update m as |
| Begin C: Internal Feedback. |
| Step 1: Compute internal force fint = −Km′ |
| Step 2: Decompose fint into and |
| Step 3: Update u and v using u = u′+uint, v = v′+vint |
| End C |
| Evaluate the change of u and v. If small End A |
| End A |