Rotatify - Turn any still image into a spinning gif!
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
oops, I uploaded it twice by accident
@CodingCactus No worries! It's a cute image :)
@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) :)
@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
@MarcusWeinberger ok thanks!