Amid the dynamic music, several cartoon trains raced along the tracks and braved white smoke.