image thumbnail

SpringLab

version 1.0.0.0 (135 KB) by Ofek Shilon
Interactive RT simulation of elastic bodies

4.1K Downloads

Updated 24 Aug 2006

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 (2021). SpringLab (https://www.mathworks.com/matlabcentral/fileexchange/11305-springlab), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!