Blob Sallad

BlobSallad is a Javascript-based physics engine created by Bjorn Lindberg (http://blobsallad.se/ ).

Bjorn kindly gave me a permission to port it to iPhone and make it available here (Thank you!).

From the original version, I made following changes:

1. All methods are now declared for prototypes.
2. Removed unused classes (such as Spring) to make it smaller.
3. Eliminated some accessor method (such as getX() of Vector) for efficiency.
4. Divided the JS file into two files, one for the Model and another for View.
5. Moved the gravity effect from individual Blob to the Environment

Note: There are still a lot of code-clean-up to be done. If you fork the code now, you may need to do a lot of work to merge future changes later.

0 Comment

Leave a comment
Be the first to comment on this widget!

Leave a comment

Your comment: (No HTML accepting)