private static final float WIDTH = 1200; private static final float HEIGHT = 800; private double anchorX, anchorY; private double anchorAngleX = 0; private double anchorAngleY = 0; private final DoubleProperty angleX = new SimpleDoubleProperty(0); private final DoubleProperty angleY = new SimpleDoubleProperty(0); private final Sphere sphere = new Sphere(150);