in reply to Re: 3 Dimensional repelling particle simulation
in thread 3 Dimensional repelling particle simulation
I felt that the question posed showed enough complexity that a very simple "How to use foreach" was clearly not what I wanted in an answer thus the short, sharp nature of my reply.
HOWEVER in saying that, the fact that jhanna gave me an explanation that quite possibly a number of monks would say 'What a moron, go read a book' is a good thing.
So, thanks jhanna, my apologies for being short - but that wasn't quite the answer I was looking for.
I'm going to restate my question like I should have in the first place. The possibly misleading manner I asked it in was how the simulation was explained to me:
I was playing around with making my own IP map. Nothing large, just my local network for a laugh and to show off. The nodes are the IP addresses, the links are the routes between them.
You do multiple traceroutes, from multiple locations to create an interlinked "map" (Which I have neatly stored in a MySQL DB). The "distance" between nodes is calculated from the average "distance", in milliseconds, from IP addresses in the traceroute.
The links are like springs, their repulsion charge is the given distance, and when set going in the simulation, the nodes will push each other apart in such a way that they place themselves roughly in space to equate the "distances" from other IP addresses...
I want all the co-ordinates, after the simulation has run and spaced them accordingly, to dump into POVray.
I hope this is more clear,
JP,
-- Alexander Widdlemouse undid his bellybutton and his bum dropped off --
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re: Re: 3 Dimensional repelling particle simulation
by merlyn (Sage) on Mar 19, 2002 at 05:57 UTC | |
by JPaul (Hermit) on Mar 19, 2002 at 17:43 UTC | |
|
Re: Re: Re: 3 Dimensional repelling particle simulation
by zengargoyle (Deacon) on Mar 19, 2002 at 05:55 UTC |