I stumbled on FloatCanvas in the demo and found it very interesting.
However, on Windows 10 it seems to be broken. I can’t get the Hit Test and Animate to work. Nothing seems to happen with mouse clicks on objects.
On my Mac it works better. The animation starts and the ball changes direction when I click on it. The Hit Test also works better. Some objects respond to clicks, but many do not.
Python 3.7.5, wxPython 4.0.7.post1, latest wxdemo that downloads and installs itself.