Skip to content
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

Ellipse rotation #84

Closed
wants to merge 2 commits into from
Closed

Conversation

FayCarsons
Copy link
Collaborator

Posting WIP ellipse rotation as requested. Added a 'rot' field to the ellipse record type, to which Transform.rotate adds its degrees arg, mod 360. Currently, the center is translated, I believe because Joy's (0,0) is (0.5, 0.5) in Cairo's coordinate system.

Attached is the current result of iteratively rotating an ellipse at (0,0).

ellipse_rotation

@FayCarsons FayCarsons closed this Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant