Curtain

Published  Mar 16, 2011
Updated  Jul 19, 2011
0  6

Description

Fabric simulation in Processing. It uses verlet integration. I did my best to comment the code.

I wrote a tutorial on how the algorithm works: http://bluethen.com/wordpress/index.php/processing-app/curtain/
and a follow-up to that tutorial here (this one describes how to use a consistent timestep, among other things):
http://bluethen.com/wordpress/index.php/processing-app/updated-cloth-simulator-and-how-to-improve-your-verlet-cloth-simulator/

Left click and drag to interact.
Right click to tear.
Press 'G' to toggle gravity.
Press 'R' to reset.

Download

Filename
Size
Date
Downloads
225.08 KB
Jul 19, 2011
42

Comments

Sign in to comment.
irchainscriptz   -  Jul 19, 2011

Hahahaha was fun tearing it apart and it all over the place. Nice!!

 Respond  
BlueThen   -  Jul 19, 2011

Hey everyone. I updated the code to be cleaner, faster, and smoother.

More info on it here: http://bluethen.com/wordpress/index.php/dev-log/changes-to-curtain/

 Respond  
Hawkee   -  Mar 19, 2011

This just doesn't get old. I can imagine a game being based on this.

 Respond  
Virtual Insanity   -  Mar 17, 2011

So fun to play with this

 Respond  
Hawkee   -  Mar 16, 2011

This is by far my favorite of your processing apps.

 Respond  
Jethro   -  Mar 16, 2011

Nice artwork. At first glance, it looks like a fishing net. lol

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.