What you can do here
Build a skate track and send a skater rolling along it. Five round handles set the shape: drag them up or down, or pick a point in the panel and use its slider. Drag the skater to choose where it is let go from rest. As it moves, four glowing bars on the stage show the kinetic, gravitational potential, thermal and total energy, and an energy–time graph below records them.
Every number comes from the physics of the motion. The simulation works out the skater's speed along the curve 240 times a second, so the bars are not a cartoon laid over the top: they are the energy of the skater you can see.
Where the energy goes
Start with the half-pipe and friction off. At the release point the skater is still, so all of its energy is gravitational potential energy. On the way down that bar empties into the kinetic bar, and at the lowest point the kinetic bar is at its tallest. Climbing the far side reverses the swap. The total bar keeps exactly the same height throughout, because nothing is taking energy out of the system.
All four bars share one scale, so you can compare them by eye. On the graph, the kinetic and gravitational lines mirror each other and the total is flat.
Speed from the height drop
Below the stage, the speed of the skater is compared with , where is how far the skater has dropped below its release point. It comes from equating the gravitational potential energy given up, , with the kinetic energy gained, . With friction off the two speeds agree at every point, whatever the shape of the track, until the skater jumps and lands (see below). A steep drop and a gentle one of the same height give the same speed at the bottom; the gentle one simply takes longer.
The mass is missing from that result. Slide the mass up and down while the skater moves: every energy value changes in proportion to the mass (the bars keep their heights because their scale changes too), but the speed readout does not budge.
Adding friction
Press the Friction button beside Play. Here friction is modelled as rolling resistance: a backwards force equal to the friction coefficient multiplied by the normal force from the track. In a dip the track pushes harder, because it is also bending the skater's path, so the thermal bar climbs fastest there. Each swing ends lower than the last until the skater settles near the bottom. Even then the total bar has not moved. The energy that seems to vanish has become thermal energy of the wheels, the track and the air.
When the skater leaves the track
A track can push on the skater but can never pull. Where the track curves over the top of a hump, a fast skater would need a downward force bigger than its own weight to follow the curve, and only a pull from the track could give it that. So instead the skater takes off and flies through the air as a projectile. The stage marks these lift-off points before you press play. Landing absorbs the part of the velocity that points into the track, as if the skater's legs soak up the jolt, so kinetic energy is dissipated even with friction off. On the Hump track the skater comes down almost head-on into the far slope, so that one landing dissipates nearly three-quarters of the starting energy.
Moving the zero level
Gravitational potential energy is measured from a level you choose. Drag the dashed line and every gravitational value moves by the same amount, and so does the total. The changes in energy, and the motion itself, stay exactly as they were, which is why only differences in height ever matter in a calculation.