Publication Date



NetLogo; Draping Fabric; Mass spring systems


We use an agent-based modeling software, NetLogo (http://ccl.northwestern.edu/netlogo), to simulate fabric drape by applying a modified mass spring system. This model provides an application of harmonic motion to textiles and fashion, fields not typically discussed in the undergraduate differential equations classroom. Euler's method is coded into the model to solve a system of ordinary differential equations describing the fabric's position over time. Our interactive NetLogo model allows students to visualize the behavior of the system and to experiment with parameters. We show an example of the success of our program. Students can also experiment with other numerical methods.

ArcDrape.jpg (167 kB)
Arc Mesh Drape Image

Yarn.nlogo (16 kB)
Yarn NetLogo File

Fabric.nlogo3d (24 kB)
Fabric NetLogo File



To view the content in your browser, please download Adobe Reader or, alternately,
you may Download the file to your hard drive.

NOTE: The latest versions of Adobe Reader do not support viewing PDF files within Firefox on Mac OS and if you are using a modern (Intel) Mac, there is no official plugin for viewing PDF files within the browser window.