Ofek wrote me the other day saying I should check out his SpringLab for modeling elastic bodies in “real time” in MATLAB. It has a great visualization component that got me interested. Mostly I just fixed a few points on the bodies and shook it around to watch how it would react. I wonder if you could bring a model of the L shaped membrane and watch it flex in this program.
Doug - thanks for highlighting this, and Sia - thanks for the kind word. You cannot import the membrane model as is, since it is strictly a point-set, and SpringLab takes only volumes (it uses mainly springs, but also tetrahedral elements). One could easily adapt SpringLab to take only springs, tesselate an L membrane in some way (say by surf2patch(…,’triangles’) ), connect springs along the edges, and molest the model in whichever way one pleases.
If i’ll have the time, i’ll tidy up and post a similar prototype i have that facilitates identical interaction with a model whose vibrational eigenfunctions are known (such as membrane). Should be nice to watch good old L squirm about.
Leave a Reply
About
Bob, Brett & Jiro share their favorite user-contributed submissions from the File Exchange.
I bet if people keep on coming up with these awesome ideas and codes our job as a programmer will be just copy and pasting. ;)
By the way where is your pal?
Doug - thanks for highlighting this, and Sia - thanks for the kind word. You cannot import the membrane model as is, since it is strictly a point-set, and SpringLab takes only volumes (it uses mainly springs, but also tetrahedral elements). One could easily adapt SpringLab to take only springs, tesselate an L membrane in some way (say by surf2patch(…,’triangles’) ), connect springs along the edges, and molest the model in whichever way one pleases.
If i’ll have the time, i’ll tidy up and post a similar prototype i have that facilitates identical interaction with a model whose vibrational eigenfunctions are known (such as membrane). Should be nice to watch good old L squirm about.