[0]: https://www.istockphoto.com/photo/toy-gyroscope-gm172188163-...
[0]: https://www.istockphoto.com/photo/toy-gyroscope-gm172188163-...
For instance, decreasing distance increases capacitance (thankfully, imagine the capacitive parasitics Voyager 2 would induce into all of our electronics otherwise... I'm taking a ridiculous example, but the claim is ridiculous too). On the very same diagram, it shows two capacitor values changing, but those would be connected in parallel, so you would get a constant value at the end: the structure as presented is wrong, though it has the correct idea: inertia in a mass-spring system, readout (usually) via capacitance change.
So yeah it works, but if you don't know these devices already, you can't really tell what is accurate. The Wikipedia article is more accurate.