private static Trajectory getTrajectory() {
        Particle p = new Particle(particleDefault);
        Trajectory t = new Trajectory();
        {
            Point currentPoint = new Point(p);
            t.get().add(currentPoint);
        }
        double time = 0.5;
        do  {
            double accelerationX=0,accelerationY=0;
            for(Rectangle f: Rectangle.moveList){
                if (f.isIn(p.getX(),p.getY())){
                    accelerationX +=f.getAccelerationX(p);
                    accelerationY +=f.getAccelerationY(p);
                    f.haveDone = true;
                }
            }

            double tempX = p.getX();
            p.setX(2*p.getX()-p.getRecX()+(accelerationX*time*time)/10);
            p.setRecX(tempX);

            double tempY = p.getY();
            p.setY(2*p.getY()-p.getRecY()+(accelerationY*time*time)/10);
            p.setRecY(tempY);
            Point currentPoint = new Point(p);
            t.get().add(currentPoint);
        } while ((p.getX() >= 0) && (p.getY() >= 0) && (p.getX()<=size) && (p.getY() <= size));
        return t;
    }