Share your repls and programming experiences

← Back to all posts
Rotatify - Turn any still image into a spinning gif!
MarcusWeinberger (770)

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 =
        "inc": 10, # how much to rotate the image in one frame (default: 10)
        "speed": 33, # higher is quicker (default: 33 - looks nice)
        "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

CodingCactus (4138)

oops, I uploaded it twice by accident

MarcusWeinberger (770)

@CodingCactus No worries! It's a cute image :)

CodingCactus (4138)

@MarcusWeinberger lol, thanks I want it to go slower though, is it possible for you to have a preview section before you upload it?
Also, a message telling you that it has been successfully uploaded would be nice (so I don't upload it twice again) :)

MarcusWeinberger (770)

@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