## Software for plotting moving points

Hi everyone, this is my first time posting here, as I need some sereus help on a problem. I am not sure if this should go here or in the Math Software discussion, so if I should rather post this in another forum delete it and send me a message, or just move it please.

*
I am corrently writing a paper on modelling situations and I am looking for software to
a) check weather my modell actually work the way I assume it does
b) graphically demonstrate my modell
*

Basically what I have are several moving and stationary points on a graph that interact with eachother.

I have not worked out the math behind this yet, this is just an Idea I am developing.

I would have several points of the class A, these move randomly within a certain limitations. I was thinking of something along the line of adding a random value between -1 and 1 to both x and y axis of the vector of its last movement and having that be the new movement, with a certain limit on the maximum distance they can mov per step.

In addition to that I want several points of the class B, whose movements I can choose with every step. These interact with points A by adding "forces". If a point A comes into a certain pre-defined proximity of a point B its course is altered depending on the rules set for this particular point B.

*
To describe it differently since I am not sure how clear that just was:
Assume you have several marbles (points A) with little motors in them randomly roling around a surface. This surface has hills and valleys (points B) that can (but dont have to) move arund as well. Whenever our marble comes neer a valley it rolls a bit towards it, whenver it comes neer a hill it rolls a bit away from it.

*

I am looking for software that could help me modell this on a two dimensional graph. Ideally in a step by step sequence so I can move around the B points in real time.

Id also apreciate hints on how to do the math behind it, personally I do not have a hole lot of educational background in maths, I assume I can do what I want by just assigning two dimensional vectors with veriables for the random bits, but I am not sure on how to formulate this in actual mathemaical terms (things like: if in a proximity > than x to point B then do this or that - or take the X and Y values of the Distance you just travelled and ad Z to both axis, Z beeing <1 and >-1)

*

Come to think of it, I am not even sure if this is a geomatry problem in the first place, but maybe someone can just point me in the right direction on how to think about the problem and maybe where to ask further questions or maybe someone knows of some online source that I should consider reading

Well, any help would be terrific, Thanks for reading this.

P.