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


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:
and a follow-up to that tutorial here (this one describes how to use a consistent timestep, among other things):

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


225.08 KB
Jul 19, 2011


Sign in to comment.
irchainscriptz   -  Jul 19, 2011

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

BlueThen   -  Jul 19, 2011

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

More info on it here:

Hawkee   -  Mar 19, 2011

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

Virtual Insanity   -  Mar 17, 2011

So fun to play with this

Hawkee   -  Mar 16, 2011

This is by far my favorite of your processing apps.

Jethro   -  Mar 16, 2011

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

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.