Split off rendering to a new file in preparation for trying to modernize
Scrolling now changes the rayleigh number