Add gifify formula

Updated formula for #25072
Okay, I'll take a stab at that. Thanks for the example.

As far as small fixtures are concerned, you may find this collection interesting: https://github.com/mathiasbynens/small