pooltool is a sandbox billiards game that emphasizes realistic physics. You can play any form of billiards, experiment with different physics settings, or you use the API to investigate billiards-related research questions.
Use at your own risk.
A blog dedicated to the development of this project can be found on my website.