DEV Community

Can you draw a perfect circle? ⭕

𝐓𝐡𝐞 𝐋𝐚𝐳𝐲 𝐆𝐢𝐫𝐥 on July 06, 2026

Hey what's up guys👋🏻 As developers👩🏻‍💻 we spend hours staring at screens🖥️, designing complex architectures, optimizing code, and hunting down bugs...
Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala

2nd try

Collapse
 
technogamerz profile image
𝐓𝐡𝐞 𝐋𝐚𝐳𝐲 𝐆𝐢𝐫𝐥

You did it on your second attempt—unbelievable! :D

Collapse
 
technogamerz profile image
𝐓𝐡𝐞 𝐋𝐚𝐳𝐲 𝐆𝐢𝐫𝐥

Hey guys @gramli ,@xulingfeng ,@csm18 ,@merbayerp ,@leob
Can you beat my score!!

Collapse
 
csm18 profile image
csm • Edited

Tried a lot, not getting it! 🙌🙌🙌

Its like rolling the dice, sometimes I get close enough and the very next time it does not even cross 60%

Collapse
 
leob profile image
leob

No I can't, however I noticed that your circle isn't closed, it has a gap :-) but I conclude that that doesn't matter ...

But no, I can't beat this - what is your secret? :D

Collapse
 
gramli profile image
Daniel Balcarek

On my third try 🤣

Great idea!

Collapse
 
technogamerz profile image
𝐓𝐡𝐞 𝐋𝐚𝐳𝐲 𝐆𝐢𝐫𝐥

This circle is quite neat and beautiful!!

Collapse
 
csm18 profile image
csm

My circle is

Collapse
 
leob profile image
leob

Nice one, this is approximately how far I got as well ...

Collapse
 
technogamerz profile image
𝐓𝐡𝐞 𝐋𝐚𝐳𝐲 𝐆𝐢𝐫𝐥

This circle is quite perfect!!!

Collapse
 
csm18 profile image
csm

Its fun, thanks for the game!😄

Collapse
 
xulingfeng profile image
xulingfeng

Unfortunately I'm stuck at work right now — can't let the boss catch me gaming in the office 💼👀. Gonna give it a try once I clock out 😂🎮

Collapse
 
leob profile image
leob

Fun game! Did you program this yourself? Epic ...

Got above 90%, but at some point it seemed that reaching higher scores was more a matter of luck/randomness, so then I stopped ... this would definitely be easier with a trackpad (let alone a tablet) than with a mouse, I also think I had a little bit too much friction with the mouse on the surface to reach optimal results ...

Also noticed that a few times I drew something which I thought was pretty bad (looked more like a potato) and still got a pretty high score - I wonder what the scoring algorithm is exactly?

But, definitely a cool idea, and a fun game, nice one!

Collapse
 
technogamerz profile image
𝐓𝐡𝐞 𝐋𝐚𝐳𝐲 𝐆𝐢𝐫𝐥

Haha, thanks! :D It's not actually my game—it's from neal.fun. As far as I know, the exact scoring algorithm hasn't been made public. My guess is it compares your drawn shape to an ideal circle, looking at things like how consistent the radius is from the center, smoothness of the outline, and how round the overall shape is. That's probably why some drawings that look a bit "potato-like" can still score surprisingly high if they match those metrics well.

Collapse
 
pjdeveloper896 profile image
Prasoon Jadon • Edited

here it is.

Collapse
 
technogamerz profile image
𝐓𝐡𝐞 𝐋𝐚𝐳𝐲 𝐆𝐢𝐫𝐥

Very beautiful and neat :D

Collapse
 
pjdeveloper896 profile image
Prasoon Jadon

thanks thanks.

Collapse
 
xulingfeng profile image
xulingfeng

Haha, who's gonna challenge my score? 🤣

Collapse
 
technogamerz profile image
𝐓𝐡𝐞 𝐋𝐚𝐳𝐲 𝐆𝐢𝐫𝐥

Great!!⭕

Collapse
 
merbayerp profile image
Mustafa ERBAY

“It’s funny how we spend our days designing complex systems, yet a simple circle can instantly humble us. 😂 Love this challenge!”

Collapse
 
technogamerz profile image
𝐓𝐡𝐞 𝐋𝐚𝐳𝐲 𝐆𝐢𝐫𝐥

Thanks :D

Collapse
 
binarywarrior365 profile image
Binary Warrior365

My circle is 92.8% perfect, can you beat that? neal.fun/perfect-circle/

Collapse
 
lovestaco profile image
Athreya aka Maneshwar

God it's harder than it looks :(

Collapse
 
technogamerz profile image
𝐓𝐡𝐞 𝐋𝐚𝐳𝐲 𝐆𝐢𝐫𝐥

Haha 89% is pretty close! You've got this! :D