from Hacker News

Ask HN: Anyone Have Expertise in Trigonometry?

by clumsycomputer on 9/19/22, 10:42 PM with 20 comments

howdy hn

im looking to collaborate with someone who is passionate about trigonometry, computational geometry, or just math in general! im trying to figure out if the white dot in the animation linked below can be computed in constant time, and if not what is the best that can be done? all the code i write these days is open-source, and i believe cracking this nut will go a long way for many!! any takers??

loop anatomy animation:

https://youtube.com/shorts/M83QFzrcnlc?feature=share

  • by reallymental on 9/19/22, 11:34 PM

    Considering that only one of those circles' radius is variable, and the other two circles intersect with the yellow loop, you can determine the equation of the yellow loop, which will give you the position of the white point, at any time, in constant time.
  • by pubby on 9/20/22, 12:08 AM

    If you can't figure it out, memoize the results in a table and interpolate.
  • by waynesonfire on 9/19/22, 11:17 PM

    you forgot to mention the pay rate?