How to build a Python-based tool for simulating and visualizing physics experiments?