No License
Editor's Note: This file was a File Exchange Pick of the Week
This program is a prototype of an interactive elastic model. It makes use of both spring and FEM forces, and several of the elasticity parameters can be modified in run-time (key bindings are displayed in the figure).
To use, left click and drag any point on any face of the model. When the mouse is released, new constraints can be added in the same way. To release such a constraint, right click on its face.
Play around with the parameters - the simulation (although using implicit time integration) can become unstable at certain parameters setup.
The model input format is a VOL file, the (ascii) simple output format of the freeware NetGen. Few sample models are included.
Usage:
SpringLab('sphere')
SpringLab('tissue_cut2')
SpringLab('stomach')
SpringLab('y')
REQUIRES ADDITIONAL FILES:
select3d by Joe Conti, and cameratoolbarnokeys by me.
Cite As
Ofek Shilon (2025). SpringLab (https://www.mathworks.com/matlabcentral/fileexchange/11305-springlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | cameratoolbar bug fixed, category changed. |