-
Notifications
You must be signed in to change notification settings - Fork 53
Rotation #439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rotation #439
Conversation
good to go after a test :D |
Nice!! |
Some notes on testing here: https://github.com/fastplotlib/fastplotlib/blob/main/CONTRIBUTING.md#running-tests |
A general remark about transformations for the graphics object: I think |
Thanks! If all |
Yes.
The classic example is rendering a robot arm, consisting of several segments, each a child of the previous. If you rotate an element, all the child elements rotate along. In this scenario, using So practically: I'd recommend using |
Added a rotation property and a setter to
Graphic
and a method to set a rotation of a given angle over one of the axis, with respect to the world.closes #427