public Particle(double x, double y, double speed){
        this.x = x;
        this.y = y;
        if(speed < 1) this.speed = 0.001;
        else if(speed > 100) this.speed = 0.1;
        else this.speed = speed / 1000;
    }