Auton Posted June 21, 2010 Share Posted June 21, 2010 Hey everyone. First off I'd like to thank everyone involved in the development of Paint.NET for making such a great piece of software. You guys rock. However I do have a very nitpicky problem with the ellipse drawing algorithm: As you can see, circles often end up asymmetrical and discontinuous. This isn't noticeable at larger sizes, but can be important to people working with a smaller area (pixel artists for instance). I think the solution to this would be to implement some sort of octant-mirroring solution as described here. I've used this technique myself in a couple of small applications and it works great. Thanks! Quote Link to comment Share on other sites More sharing options...
Frontcannon Posted June 21, 2010 Share Posted June 21, 2010 Does that also happen when you hold shift while using the ellipse tool? Quote Night Vision Text Effect Tutorial Gallery reddit.com/r/futurebeats | My Mixcloud Link to comment Share on other sites More sharing options...
Sarkut Posted June 21, 2010 Share Posted June 21, 2010 One thing that I observe on the web page linked to, is that the circle drawn is always formed with an odd number of pixels as diameter. This allows for an even number of pixels on either side of both the vertical and horizontal center lines. Your posted image is on a 16x16 canvas, even numbered. When I make a circle to fill a 16x16 canvas it tends to be asymmetrical. When I make a circle to fill either a 15x15 or 17x17 canvas it's always symmetrical. Quote Link to comment Share on other sites More sharing options...
Auton Posted June 24, 2010 Author Share Posted June 24, 2010 Does that also happen when you hold shift while using the ellipse tool? Depends on the size of the ellipse. I thought it might only be with odd numbered dimensions, but a quick test shows that it still affects some even numbered dimensions (14x16 for instance). One thing that I observe on the web page linked to, is that the circle drawn is always formed with an odd number of pixels as diameter. This allows for an even number of pixels on either side of both the vertical and horizontal center lines. Your posted image is on a 16x16 canvas, even numbered. When I make a circle to fill a 16x16 canvas it tends to be asymmetrical. When I make a circle to fill either a 15x15 or 17x17 canvas it's always symmetrical. That's a good point. I've never had that problem using the algorithm myself, perhaps it'd make sense to check for even numbered dimensions and then apply symmetry. Quote Link to comment Share on other sites More sharing options...
OrangePikmin Posted July 1, 2010 Share Posted July 1, 2010 (edited) Hi everyone, I'm with the thread creator on this one. I love PDN but circle shapes and selections are the only thing that bothers me. Can you remake it so that a circle is horizontally AND vertically symetric please? Here are some screenshots of the problem: Thanks a lot! Edited July 1, 2010 by OrangePikmin Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.