News for hackers. Stuff that matters.

clumsycomputer

Re:Ask HN: Anyone Have Expertise in Trigonometry? on Monday September 19, 2022 @08:11PM (#32905916)
i'll do my best

1. define the base circle (orange)

2. define the sub circle (pink)

3. compute the range of the intersection circle's radius (blue)

4. compute the loop points (yellow)

   4A. compute intersection circle along range defined in 3

   4B. compute the intersection angle between base and intersection circles relative to the center of the intersection/sub circle (law of cosines)

   4C. compute the intersection point with intersection angle (green on blue & orange)

   4D. compute sub point with intersection angle (green on pink)

   4E. compute the loop point with the x component from intersection point (4C) and the y component from sub point (4D)
5. compute the trace point at trace angle (white)

   5A. trace the already computed loop points searching for the the two points where the trace angle fits between

   5B. compute the intersection between the line composed of the two matching loop points and the trace line originating at the sub circle's center with an angle of the trace angle
its a generalization of the drawing by Fritz Hügelschäffer linked below

http://www.mathematische-basteleien.de/eggcurves.htm#:~:text....

Re:Ask HN: Anyone Have Expertise in Trigonometry? on Monday September 19, 2022 @07:47PM (#32905704)
your reply certainly gives me hope that its possible, though i fear i've stared at this diagram for too long and am having difficulty viewing it with a fresh perspective.

some additional context.

im constructing the loop (yellow) with the black dots, which im computing in constant time. the dynamic circle (blue) is being constructed from the two static circles (pink, orange). the white dot is currently being computed by sweeping the already computed loop points from the center of the small circle (pink).

are there any laws or key points that may help me along? are there any similar problems that are well documented that you are aware of?

thanks

Re:Ask HN: Anyone Have Expertise in Trigonometry? on Monday September 19, 2022 @07:22PM (#32905508)
haha fair question... i'm hoping to find someone who will donate their time as i am doing myself. its important that improvements to the current solution i have remain in the open and free to use. otherwise said help may be counterproductive and even destructive

Ask HN: Anyone Have Expertise in Trigonometry?

howdy hnim 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!!...

( Read More... | 20 comments | 17 points | on HN )
Re:Show HN: A simple UI for curating awesome music on Thursday September 15, 2022 @02:47PM (#32856675)
howdy hn

for a couple years now ive had an itch to curate my favorite music outside of the major music platforms in order to facilitate sharing with my friends who are all devoted to different apps. finally i got to scratching last month and am pleased with the first iteration. its uncluttered, straightforward, and provides flexibility in how the music is organized/categorized

the app is built with nextjs and is currently frontend only. im not entirely sure what the next step for this project is. there is a good chance it will remain as is for the foreseeable future with the exception of adding more music. however depending on the feedback, i may continue iterating and possibly even split out into a dedicated service for others to take advantage in an easier fashion than forking

a link to the code below:

https://github.com/clumsycomputer/clumsy-website/tree/produc...

Show HN: A novel math library for the TypeScript community

https://github.com/clumsycomputer/clumsy-math

here is a little library of fun math functions and types that have been slowly iterated on in one form or another during my free time for the past decadethe stuff on rhythm is the most fleshed out and should be documented enough for others to dive intotheres also some rough utilities for playing with prime numbers which can be helpful when composing rhythmsthe next step for this library is to...

( Read More... | no comments | on HN )
Re:Ask HN: Who wants to be hired? (September 2022) on Thursday September 01, 2022 @01:51PM (#32680290)
Location: Mexico

Remote: Only

Willing to relocate: Most likely not

Technologies: Typescript, React, Vue@2

Resume: https://clumsycomputer.com/software/resume

Email: [email protected]