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

Square Face Improvements #3

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

dimitribouniol
Copy link

Use a mask for the square face instead of trying to get complicated math to work reliably ;)

@dimitribouniol
Copy link
Author

screen shot 2018-10-11 at 8 47 54 am

@dimitribouniol
Copy link
Author

Also, the simulator was acting pretty wonky, so I wasn't sure what radius to use (I tried to guess by understanding the math you had, but couldn't figure it out), so I settled on 16. Feel free to adjust accordingly.

screen shot 2018-10-11 at 8 50 31 am

@dimitribouniol
Copy link
Author

@steventroughtonsmith Now with some real math ;)

(You can use the provided functions to easily calculate where the center of a circular tick mark should be placed by drawing the appropriate CGPathRef, for instance)

@jakedowns
Copy link

i think my PR (#18) may fix the issue you see here #3 (comment)

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.

2 participants