pqiv
pqiv copied to clipboard
Rotate image 1 degree 30 times/second
I have an .png
image with transparent layer that pqdiv
brilliantly displays:
What I would like to do is rotate the image clockwise 1 degree every 33ms (30 times per second) such that after 12 seconds one full rotation will occur. I plan to use this as a splash screen for my python tkinter program that currently takes a few seconds to load up. Tkinter doesn't allow transparent canvas so I'm limited to a regular rectangular window.
Additionally it would be nice if pybind11
or something similar could be used to call pqdiv
directly from Python. For example:
https://user-images.githubusercontent.com/33849503/122487992-c2cb9580-cf99-11eb-99c2-ec82ae929425.mp4
I totally understand if a fringe request like this may be ruled out but perhaps you could highlight where in the code this might be accomplished?