Been seeing this a bit more than usual lately, so figured I'd throw together this little how-to so I don't have to ever look at corner-humps ever again.
Shitty rounded corners are one of my biggest design pet peeves. This happens when you increase/decrease the overall size of a duplicate stacked object, but not increase the radius of the corners. For shame!
Sometimes you don't have the convenience of expand path in illustrator and have to build stacked objects by hand. If so, and you don't know how to do it – now you do (of course you already know how to do this!).
Pass it on.
about 1 year ago
I dont get what you mean, hah! The width of D + R1 = R2?
Oh god, somebody had to say that!
@Andrey Dyadyura Corner radius of the outer rounded rectangle should grow proportionally. To be more exact, it should grow by one half of difference between sides or the squares (corresponding sides of a rectangle).
For example if your rounded rectangle (rounded square in this case) has corner radius 5px, and 25px sides and you draw a bigger, 35px rounded square around it, its corner radius has to grow to 10px based on the rule above.
Does this make any sense?
This is also one of my biggest pet peeves. Thanks for sharing. I think details are one of the most important parts of good design work. Focus on the details. :)
I understand the concept, but not the mathematical part of it, I always do this on eye-measurement. Could you explain the mathematical part of it further? Isn't it always then 10px more?
@Anders Drage here's how it works. Say the smaller object has corners whose radius (if you made it in PS or AI) was 20px. If you wanted to increase the overall size by 10px (ie. adding 10px on all sides) then the correct corner radius for the larger object would be 30px –> (R1)20px + (D)10px = (R2)30px
It's pretty straight-forward.
I used to draw my rounded rectangles by hand by combining shapes. http://d.pr/i/a8Z
The corners of rounded rectangles are circles with differing radii. The originating point of those radii should be the same.
The funny thing is that the detail people—those people who agonize over every silly little pixel—already get this stuff right.
Maybe us details people should teach the non-detail people to start caring about this kind of stuff. Sure, it won’t stick with everyone and not everyone will care, but the people who can’t un-see problems like this once they’ve seen them are the people we should be putting our time into anyway.
@Mike Meyer I'd actually love to have designers put together a little tutorial of "the one thing I wish someone taught me when I was first starting out".
@Jeffrey Kalmikoff we should discuss this further. I’ve got a whole brainful of potentially stupid ideas around this stuff that need to be either shot down or improved.
keyboard shortcuts: ← previous shot → next shot L or F like
Show and tell for designers
What are you working on? Dribbble is a community of designers sharing screenshots of their work, process, and projects.
Copyright © 2009–2013 Dribbble LLC. All screenshots © their respective owners. Shipped from Salem, Mass. USA.
Follow Dribbble on Twitter