in reply to Re^3: Data visualisation.
in thread Data visualisation.

Heh. That's not a technical term.

(I kinda knew that :)

The trick is choosing a good time step $dt.

So...you're solving a simultaneous equation for each point? (I'm guessing?)

Is that necessary? Cannot The law of cosines be combined with Sine function to derive the cartesian coordinates of a 3rd point given its vector lengths from two other points with known coordinates?

This is what I've been trying, but I think the signed-ness malarkey of trig functions beyond π/2 is screwing me up :(


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^5: Data visualisation.
by Anonymous Monk on Jan 03, 2014 at 02:30 UTC

    All that trigonometry gets a bit brittle, since the distances don't seem to lie in a plane, exactly. The plan is to consider the system as a network of springs, and try to jiggle them into a position where they aren't under too much stress. So I'm calculating the "force" each "spring" would apply to each point, and scooting each point a little bit in the direction that the springs are pushing it. Do that over and over, and hopefully the positions will gradually get closer to a reasonable solution. (I should have said it that way to start with...)

      The plan is to consider the system as a network of springs, and try to jiggle them into a position where they aren't under too much stress. So I'm calculating the "force" each "spring" would apply to each point, and scooting each point a little bit in the direction that the springs are pushing it. Do that over and over, and hopefully the positions will gradually get closer to a reasonable solution.

      Neat idea. I specially love the analogy which even a dumb-arse like me can understand :)

      Reminds me of some code I wrote back in the late 90's to do a kind of finite element analysis of the signal strengths between multiple base-stations and wireless hand-held terminals (as they were called back then) as they moved around in a shop or warehouse environment. The idea was to try and automate some of the installation process (of the base-stations) which was a time-consuming and tricky operation involving half a dozen people walking round the place with signal strength meters whilst others repositioned base-stations until they eliminated or minimised the blind spots.

      It was abandoned in the end. The most powerful workstations we had (SGI something from memory) would take months to process the simplest of scenarios. These days your phone probably does more processing for each frame of a game of Angry Birds!


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
Re^5: Data visualisation.
by roboticus (Chancellor) on Jan 03, 2014 at 00:57 UTC

    BrowserUk:

    Yeah, the signedness is screwing me up, too. I've found a bug in my code, so I'm working up a better test for it. Hopefully I can get it nailed down tonight or tomorrow morning and post a better version.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.