https://developer.apple.com/videos/play/wwdc2023/10054/?time...
https://developer.apple.com/videos/play/wwdc2023/10054/?time...
d2 = x^2+y^2
-- 6 / pi = 1.909859317102744
angle = 6 + 1.909859317102744 * atan(x, y)
if z ~= 0 or d2 > 20 then return EMPTY end
if d2 < 11 then return GREEN end
if angle > t then return PURPLE end
-- ugly special case because reference isn't smooth at 13
if t == 13 or angle + 12 > t then return RED end
return PURPLE
My son is a big kid and is playing high school football. It was not on our radar, so we have begun to navigate these kinds of questions. Like - do you want to play at the next level? What do you even need to do if you would like to? But also the realization of how much money is made off of these kids and how cruel and unforgiving it can be.
It's probably still slow (I haven't been to Disney in a while) but no longer mentions HP.
(These days few apps bother to do this anymore. I switch away from an app in a minute and upon switching back I'm back at the app's home screen.)
https://developer.apple.com/documentation/uikit/uiviewcontro...
Interesting to note that the parametric equations of the spiral are linear in spherical coordinates. https://en.wikipedia.org/wiki/List_of_common_coordinate_tran...