MSH2Mjigglemesh [MSH]
— Function File: [newmsh] = MSH2Mjigglemesh(msh, steps)

To equalize the size of triangle edges, set a spring of rest length factor*area along each edge of the mesh and solve for static equilibrium.

The non-linear eqautions of the system obtained are soved via a non-linear Gass-Seidel method. step is the number of steps of the method to be applied.

May be useful when distorting a mesh, type demo MSH2Mjigglemesh to see some examples.