Chaos magic. That's the only thing that makes sense.
Alternatively, her "high-tier" special cutie mark makes it so she can accomplish her goals. Same as Celestia's and Luna's cutie marks that allow them to do what they do since no pony can train to utilize those types of magic. Or Fluttershy's abnormal, unique ability to speak to animals.
Cap: ppvnk
>>42265717
Uh, yeah. That's why I wrote that she has exceptionally strong earth pony magic. It's powerful enough to be easily observable with the naked eye.
>>42265717
Almost all ponies have some level of magic allowing them to do the impossible. Zipping into and out of frame at high speeds, stretching a limb to give a big hug, all sorts of cartoony stuff. Pinkie just has such a massive amount of magic that she can bend reality. She's arguably the most powerful magical creature in the show.
>>42266556
She also stores an incredible amount of information. She's highly intelligent, and possibly the most magically-powerful non unicorn, which makes her choice to be a professional goofball all the better