So I've decided to make some simple animations with python and I came to the issue of getting parts to rotate and move together. I decided to put parts together on a smaller canvas (canvas for the leg placed on the main canvas) but I can't get the canvas to rotate. Is there a better way to do this or any way to rotate the canvas?
Any help would be appreciated.
Thropian
3
Junior Poster in Training
Recommended Answers
Jump to PostIn stackoverflow there was code on how to use complex numbers for rotation of polygon:
http://stackoverflow.com/questions/6481170/trying-to-rotate-a-triangle-with-complex-numbers-in-tkinter-pythonAnd ActiveState explains how to change oval to polygon for rotation:
Jump to PostI think that you should manage the rotation of arch more simply by rotation center and starting point of the arch (length of arch in radians do not change), without full transformation to polygon.
All 5 Replies
TrustyTony
888
pyMod
Team Colleague
Featured Poster
Thropian
3
Junior Poster in Training
TrustyTony
888
pyMod
Team Colleague
Featured Poster
Thropian
3
Junior Poster in Training
TrustyTony
888
pyMod
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.