Resources and Support
 Pixel Joint Forum : The Lounge : Resources and Support
Message Icon Topic: Why does MS paint make circles wrong? Post Reply Post New Topic
Author Message
Pixel_Outlaw
Commander
Commander
Avatar

Joined: 01 September 2005
Online Status: Offline
Posts: 3829
Quote Pixel_Outlaw Replybullet Topic: Why does MS paint make circles wrong?
    Posted: 23 October 2005 at 6:23pm

Hello

 

Has anyone else noticed that ms paint makes circles wrong at some sizes? They arn't very symmetrical at certin sizes. For example if you make a circle without an outline just the inside colored you get a huge mess with sizes like 18x18.

That's what i mean. Notice the edges are wrong on the left side!



Edited by Pixel_Outlaw
IP IP Logged
Nitron City
Seaman
Seaman

BANNED for being a dick

Joined: 23 October 2005
Location: United Kingdom
Online Status: Offline
Posts: 8
Quote Nitron City Replybullet Posted: 23 October 2005 at 6:34pm
lol nice spot  i havent quite noticed it myself though

Edited by Nitron City
NitronCity.com
Managing Director
IP IP Logged
Pixel_Outlaw
Commander
Commander
Avatar

Joined: 01 September 2005
Online Status: Offline
Posts: 3829
Quote Pixel_Outlaw Replybullet Posted: 23 October 2005 at 8:08pm
Well I would inform Microsoft but I doubt they care.
IP IP Logged
pixelblink
Commander
Commander
Avatar

Joined: 19 February 2023
Online Status: Offline
Posts: 2865
Quote pixelblink Replybullet Posted: 23 October 2005 at 8:12pm
that's why you should learn to make circles freehand.
IP IP Logged
Blueberry_pie
Rear Admiral
Rear Admiral
Avatar

Joined: 24 July 2015
Online Status: Offline
Posts: 2176
Quote Blueberry_pie Replybullet Posted: 24 October 2005 at 2:14am
The program I use for pixelling also messes up with circles often...
I'm not all that good at making circles completely by hand, so I always first make a circle using the circle tool and then clean it up, make it symmetrical etc.
IP IP Logged
Pixel_Outlaw
Commander
Commander
Avatar

Joined: 01 September 2005
Online Status: Offline
Posts: 3829
Quote Pixel_Outlaw Replybullet Posted: 24 October 2005 at 7:13pm

I wonder why mathmatically this happens? Unless all the drawing programs use the same function. I know CAd does this but that's because it uses such fine precision that the lines are too thick to represent the shape accurately. And it isn't practical to hand draw circles.(at least for me.)

Can anyone shed some light on this?

IP IP Logged
Shark
Commander
Commander
Avatar
a.k.a. Feron

Joined: 02 July 2005
Online Status: Offline
Posts: 2136
Quote Shark Replybullet Posted: 25 October 2005 at 3:15am
adobe photshop
IP IP Logged
Vidd
Commander
Commander
Avatar

Joined: 06 July 2005
Online Status: Offline
Posts: 131
Quote Vidd Replybullet Posted: 25 October 2005 at 9:12am
I've noticed it too yet when you use the normal tool it doesn't do that.
Create the circle and then fill it.
IP IP Logged
1ucas
Commander
Commander
Avatar

Joined: 27 June 2005
Location: Brazil
Online Status: Offline
Posts: 174
Quote 1ucas Replybullet Posted: 27 October 2005 at 9:26am
That's a flaw on the Windows API to draw circles, so using other programs are hardly going to help, since they all tend to use the same API (even Photoshop). Anti-aliasing is another case, so not relevant here. Also, a filled circle and a countour circle all work the same way.

Mathematically speaking, the problem lies on the fact that a good programmer would have coded it using the floor function and drawing only 1/4 of the circle and then mirroring the rest. (that CAD stuff you said is kinda nonsense) This is the most effective way, and the floor function is MATHEMATICALLY CORRECT to deal with the aliasing of the circle points. (the circle has infinite detail, you have to represent it in pixels that have finite frequency, hence you gotta represent infinite information on a finite way)

But on WinXP they decided to draw it using the round* function, and drawing the whole circle instead of only 1/4. The floating point fluctuations are usually not a problem, but since they're using round they are maximized, and since they are not mirroring, they're inconsistent and create assymetrical circles.

There's nothing you can do about it though, except using WinMe or older. So, all you can really do is just draw the circle and correct it yourself.

* Yes they used round. I can easily tell because of the behavior of the pixels when you make a wide ellipse. Open MS paint, zoom in and use the circle tool. Draw a circle of 49x27 (note that this number is incorrect in MS Paint, 1 pixel in excess in both axis), then still holding the mouse, move it to the right to make it 50x27. See how the left size pops out abruptly? That's because of the round function.

---
And since this sucks so much ass, that's why I coded my own circle-making program to output (usually bigger), symmetrical circles in BMP form so I can use. Ha-hah, I feel bad for having to be so drastical. f**k it.

Edited by 1ucas
IP IP Logged
Pixel_Outlaw
Commander
Commander
Avatar

Joined: 01 September 2005
Online Status: Offline
Posts: 3829
Quote Pixel_Outlaw Replybullet Posted: 27 October 2005 at 6:25pm
Is that program freeware?
IP IP Logged
inkspot
Commander
Commander
Avatar

Joined: 05 May 2005
Location: Estonia
Online Status: Offline
Posts: 452
Quote inkspot Replybullet Posted: 28 October 2005 at 8:50am
I usually make circles by hand.. I know that Paint skrews in many things but at least it is simple-functioned and not overflooded with useless functions. I love Paint!
IP IP Logged
Helix
Midshipman
Midshipman
Avatar

Joined: 01 November 2005
Location: United Kingdom
Online Status: Offline
Posts: 63
Quote Helix Replybullet Posted: 01 November 2005 at 1:06pm
I'm with pixelblink, be a pirate and make your circles free hand!

IP IP Logged
Pixel_Outlaw
Commander
Commander
Avatar

Joined: 01 September 2005
Online Status: Offline
Posts: 3829
Quote Pixel_Outlaw Replybullet Posted: 01 November 2005 at 8:22pm

Originally posted by Helix

I'm with pixelblink, be a pirate and make your circles free hand!

Hrmmmm... A pirate has a mojor advantsge, using his peg leg as a centering point and placing the pencil in his toes, he need only pivot on his hips to draw a perfect circle. A pirate compass if you will!

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum