About. An open source physics at Singapore simulation based on codes written by Andrew Duffy, Anne Cox, Wolfgang Christian, Francisco Esquembre and Loo Kang WEE. More resources can be found here. Duction. Every object sets up a gravitational field around itself due to its mass. When two objects enter each other's gravitational fields, they will be attracted to each other.