The Whims of the Butterfly (also known as "The Caprices of a Butterfly", or "Les Caprices du Papillon") is a ballet in 1 act, with choreography by Marius Petipa, and music by Nikolai Krotkov. Libretto by Marius Petipa, based on the poem "The Grasshopper Musician" by Yakov Polonsky.
First presented by the Imperial Ballet on June 5/17 (Julian/Gregorian calendar dates), 1889 for the Imperial court at the theatre of Peterhof Palace in St. Petersburg, Russia. The ballet was given a second premiere for the general public at the Imperial Mariinsky Theatre on October 25/November 6, 1889 with the same cast. "Principal Dancers -" Varvara Nikitina (as the Butterfly), Pavel Gerdt (as the Phoenix Moth), Sergei Litavki (as the Grasshopper), Maria Anderson (as the Fly), Alexander Shiraev (as the Spider), and Sergei Legat (as the Nightingale).