Use degrees instead of radians.
Open
Nobody has claimed this yet.
feature request
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 407
- PR merge metrics
- No merged PRs in 30d
Description
I think it's more familiar and user friendly to rotate elements using degrees.
Is it possible to set an optional global variable like `Zdog.useDegrees = true;`.
Then any value passed to a `rotate `property is converted to degrees (currently I have to use my own conversion function).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how rotate properties are consumed and how angles are currently interpreted. Define the optional global switch and verify that enabled rotation values use degrees while the default behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100