Live data from Hacker News

Perfect Circle

neal.fun

31–40 of 155 posts

Re: Perfect Circle

#31

Another great neal.fun page. One feature I'd like to see is, make the user to N circles in a row and take the median score or something. Right now you can just spam hundreds and take your top score, but it doesn't really reward consistency.

Yeah, we all totally need consistency reward. The game will become borring without it :)

Re: Perfect Circle

#32
post #26

By cheating with a Python script to move the mouse, I managed to get 99.9%. Seems difficult to get higher than that, perhaps due to the mouse position having integer coordinates.

A mac or windows app controlling the mouse I presume?

Re: Perfect Circle

#35
post #32
post #26

By cheating with a Python script to move the mouse, I managed to get 99.9%. Seems difficult to get higher than that, perhaps due to the mouse position having integer coordinates.

A mac or windows app controlling the mouse I presume?

I used the pyautogui library on Linux. Then just a simple loop with an incrementing angle, with some overshoot in the end in order for the webpage to recognize that the circle was complete. First time using the library, worked pretty well, except I had to figure out that I had to use pyautogui.PAUSE = 0 to make it not pause between mouse movements.

Re: Perfect Circle

#36

There’s a mini game in Mario Odyssey about walking a perfect circle. This reminds me of that. It’s charming.

That challenge was surprisingly hard. Even with the couple of landmarks (I think a few small bushes). It’s weird how high the difference was between what looked like a perfect circle and what was actually expected. It was almost like an optical illusion.

Re: Perfect Circle

#37
You can get an artifically high score by finishing the last 90 degrees or so with a straight line segment, FYI. I can usually break 90% with something that doesn't resemble a circle very much at all.

Re: Perfect Circle

#38
post #29

One of my maths teachers was able to draw up to something like a three foot circle on the blackboard that looked very, very close to ideal every time. He would always use two arcs to do it and it was uncanny. He would whip out a metre/yard rule to do straight lines because they are much harder to do. Your limbs etc are all a collection of ball and socket/downright weirdly jointed/hinges with benefits/more weirdness.…

My middle school maths teacher (awesome guy, also had a mustache - mid 90s) taught us how to draw (large) circles on blackboards easily:

Start from the bottom and go counter-clockwise full circle having your arm fully extended. After the first couple of tries, when you build up confidence through the results, the circles get very good. The trick is not moving slowly, but doing it in one go.

The 3'/two ark circles he would do the same way, but using the elbow as the central/pivot point instead of the shoulder.

Post reply on HN