We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionExhibition › Physics simulation... with thorough comments
Page Index Toggle Pages: 1
Physics simulation... with thorough comments (Read 1118 times)
Physics simulation... with thorough comments
Mar 28th, 2008, 3:51pm
 
Hey guys, I recently wrote a comprehensive fluid mechanics simulator... It's basically a bouncing ball, except with super realistic physics (air drag, for one).
I just wanted to post it because I've made the source code available, and I really thoroughly explained everything-- it might help somebody learn processing (or physics). So if you or someone you know needs a well-documented processing or physics example, here it is:

http://www.niqos.com/posts/2008/03/25/modeling-physics-gravity-and-drag-in-processing/

I hope you guys get the chance to check it out! Let me know what you think

Burak
Re: Physics simulation... with thorough comments
Reply #1 - Mar 28th, 2008, 11:35pm
 
This is great! The code is really commented, i'll check the source to get a grasp of the inner workings of the simulation logic. This will be useful for sure so, thanks!

(helal olsun diyeyim hehheh Smiley )
Re: Physics simulation... with thorough comments
Reply #2 - Mar 31st, 2008, 12:44pm
 
Thanks a lot, this will be useful!
Page Index Toggle Pages: 1