Rotatify - Turn any still image into a spinning gif!
h
MarcusWeinberger (772)

Try it out!

Made with inspiration from @turbio's repl.

API documentatoion

there's not much - we only have 2 routes

make it spin

import requests
r = requests.post(
    "https://rotatify.marcusweinberger.repl.co/spin",
    data={
        "inc": 10, # how much to rotate the image in one frame (default: 10)
        "speed": 33, # higher is quicker (default: 33 - looks nice)
    },
    files={
        "image": open("test.png", "rb"),
    }
print(r.url) # because it redirects here

Uploaded images are cached in the server until a reboot. They can be viewed here

You are viewing a single comment. View All
MarcusWeinberger (772)

@CodingCactus Ooh that's a good idea, tbh HTML or JavaScript or whatnot is very much not my strong point. But I like the idea, and I'll look into it