I'm making a small 3D physics simulation program in javafx and I looked onto various ways of doing the physics calculations in a separate thread but with little experience in multi threading I find it hard to find the best approach to calculate the physics and passing them to the javafx applicationI'm making a small 3D physics simulation progra