Archive
Posts Tagged ‘Spring’
Simple Spring Physics
02/03/2013
8 comments
A few weeks ago (during exams period 😛 ) I was playing with spring physics, it turned out to be easy to implement and the results were cool enough for me to write a demo in Android, Microsoft XNA, and Javascript :D.
Before I talk too much, here see the results for yourself, this is the web version :Â SpringLab Web Version.
Reminds you of World of Goo 😀 ?
I came across this tutorial, from which I learned this lovely vector equation:
F = -k(|x|-d)(x/|x|) - bv
I applied it to 2D springs and it gave amazing results especially when Read more…
Categories: Android, Games Programming, HTML5, My Thoughts, XNA
Android, HTML5, Physics, Spring