public void setTransparent(boolean t) {
        //System.out.print(t);
        for (Particle px : particleList) {
            Color c = (Color) px.getFill();
            px.setFill(new Color(c.getRed(), c.getGreen(), c.getBlue(), t ? 0 : 1));
        }
    }