Scene scene = new Scene(pane, 1280, 800, new LinearGradient(0, 0, 0, 800, false, CycleMethod.NO_CYCLE,
new Stop(0.0, Color.rgb(28, 27, 22)),
new Stop(0.25, Color.rgb(38, 37, 32)),
new Stop(1.0, Color.rgb(28, 27, 22))));
scene.setCamera(new PerspectiveCamera());
stage.setScene(scene);
stage.show();
timer.start();