In CloudAhoy, the pivotal altitude for eights on pylons is computed based on the ground speed. A table is used to determine the proper AGL altitude for the maneuver. Once the AGL altitude is known, it is added to the terrain height to determine the MSL altitude for the pivotal altitude. The pivotal altitude is explained in chapter 6 of the Airplane Flying Handbook.
Airspeed versus pivotal altitude