This is Falstad's animated interactive simulator. Free to download and use at:
www.falstad.com/circuit
It can export a link, containing an entire schematic.
Click the link below and it will:
* Open the falstad websie
* Load my schematic into the simulator
* Run it on your computer
https://tinyurl.com/me98lzu
You can see current bundles traveling in wires.
You can change values. Right-click on a component and select Edit.
Will the values be the same for 24V?
It depends on how much energy is in a spike coming from the transformer. The load is a major factor. If you change the supply voltage, but you draw the same amount of watts from the secondary, there is a chance you will not need to change snubber values at the primary.
For the capacitors you can emphasize their Farad value, or their volt rating.
They must absorb a spike (charge), then they discharge through the resistor.
The resistors need to be rated several watts. That is, if you are drawing substantial power from the secondary, say, 100 W.