Not sure how to describe it in the short title space Razz Basically, is there a good way to take a bunch of Xs, Ys, and angles and have it act like you are pulling on one side? It would be like a snake game, where you can turn whatever direction you want, and it will pull the line with you realistically, rather than all your old positions just sitting there. I'll be using this for the Contest #8, so general concepts would be better than actual source code (unless the source is general... *shrug*).
You could look in to Verlet integration. It's nice, fast, and most importantly, simple.
Thanks! I did a quick google search and found this which seems to sum everything up pretty well. I'll try to implement it in Python in a bit Smile
Interesting, this is some pretty cool stuff! I'll have to look into this particular algorithm myself at some point.
While we're on the subject, I may as well post this:
http://whff.tk/download.php?file=b0p6q3bhoq

It's a 3D implementation of verlet I wrote a while ago. I'd post the source too but...
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement