News for hackers. Stuff that matters.
Re:Round Rects Are Everywhere by m463 on Monday June 24, 2024 @07:17PM (#40782196)
Rounded corners are one of the common things on macos that make it look modern and cheerful. iphone icons are more pleasing because of this.

other platforms should add more of this.

Re:Round Rects Are Everywhere by gibolt on Monday June 24, 2024 @07:20PM (#40782224)
It is standard for web elements. Very easy to set border radius
Re:Round Rects Are Everywhere by ftio on Monday June 24, 2024 @07:29PM (#40782305)
That hasn’t always been true!

I remember with great displeasure the bad old days of creating a 3x3 table for every container and jamming a rounded corner gif into each of the four corners to create this effect.

Re:Round Rects Are Everywhere by lelandfe on Monday June 24, 2024 @08:13PM (#40782725)
See also the old sliding doors article breathlessly making rounded tabs:

https://alistapart.com/article/slidingdoors/

Re:Round Rects Are Everywhere by aalvarado on Tuesday June 25, 2024 @01:55AM (#40784960)
A list apart was my go to resource for a long time. Css zen garden was great
Re:Round Rects Are Everywhere by gary_0 on Monday June 24, 2024 @09:07PM (#40783138)
I dunno, I look back on the <table>-based layout days with fondness, probably because I was young and the Web was nothing but rolling green fields and endless potential. I didn't see the limitations, only the opportunities for inventiveness. I'll never feel the same satisfaction as I did when those first few website designs came together.
Re:Round Rects Are Everywhere by reddalo on Tuesday June 25, 2024 @03:46AM (#40785635)
I feel like responsive websites killed that magic, because now it's way too complicated to make interesting designs.
Re:Round Rects Are Everywhere by nayuki on Monday June 24, 2024 @11:01PM (#40783949)
Indeed, CSS border-radius was introduced around year 2010. I was both browsing the web and writing pages before that time. https://caniuse.com/?search=border-radius , https://developer.mozilla.org/en-US/docs/Web/CSS/border-radi...
Re:Round Rects Are Everywhere by aalvarado on Tuesday June 25, 2024 @01:53AM (#40784941)
In games you had to do this 9 piece slice, one slice for each of the 4 corners, all 4 straight sides that can be repeated as a pattern and the middle background piece
Re:Round Rects Are Everywhere by filleduchaos on Tuesday June 25, 2024 @02:07AM (#40785025)
Nine-patch image scaling[0] is still a thing, and is only orthogonally related to setting a border radius (it's a hell of lot more versatile than that).

0: https://docs.unity3d.com/Manual/9SliceSprites.html

Re:Round Rects Are Everywhere by kccqzy on Monday June 24, 2024 @07:59PM (#40782607)
Do you not remember a time before border-radius? Or -webkit-border-radius? I remember including a premade rounded rectangle button in Flash just to get that visual effect.
Re:Round Rects Are Everywhere by karaterobot on Monday June 24, 2024 @08:08PM (#40782680)
To be fair, the original comment said other platforms should add this, and border-radius has been widely supported for at least 15 years. You'd have to look hard for a browser that needs it to be added.
Re:Round Rects Are Everywhere by EGreg on Monday June 24, 2024 @07:26PM (#40782277)
Bill Atkinson wasn’t aware of that feature.

Also, Susan Kare didn’t know about vector graphics. That’s why all her icons ended up pixelated! But it was… quite iconic at the time.

Re:Round Rects Are Everywhere by Stratoscope on Monday June 24, 2024 @09:27PM (#40783287)
Whatever Susan Kare knew about vector graphics, that's not why the icons were pixelated.

It was because she had only two colors to work with, black and white, and only two icon sizes, 16x16 and 32x32.

Steve Jobs and Bill Atkinson only got 32x32 B&W icons for their own portraits:

https://www.folklore.org/Steve,_Icon.html

> Icons were only 32 by 32 black or white pixels, 1024 dots in total

Susan posted more examples here:

https://www.behance.net/gallery/81132387/Macintosh-icons

Re:Round Rects Are Everywhere by michaeljsmith on Monday June 24, 2024 @11:13PM (#40784031)
(I think that was the joke)
Re:Round Rects Are Everywhere by Stratoscope on Wednesday June 26, 2024 @03:48AM (#40797377)
Consider me duly and properly whooshed!

It was only when I later re-read the comment I replied to, with the part about Bill Atkinson not knowing about the border-radius feature in CSS, that I realized what was going on.

At least I hope my note about the pixelated icons may have been of interest to a few.

Thanks for keeping me on my toes!

Re:Round Rects Are Everywhere by somat on Monday June 24, 2024 @08:32PM (#40782874)
ahh yes good ol border-radius, more popularly known as web 2.0
Re:Round Rects Are Everywhere by golergka on Monday June 24, 2024 @07:30PM (#40782322)
Not only on macos, on the hardware as well. Macbook that I'm typing this comment on has a screen with rounded corners on top, and it just feels better than right angles on the bottom.
Re:Round Rects Are Everywhere by callalex on Monday June 24, 2024 @08:59PM (#40783074)
That effect is 100% done in software. Full black on screens is just really good now. If you don’t believe me look at a photo in full screen while zoomed in.
Re:Round Rects Are Everywhere by 1d22a on Tuesday June 25, 2024 @02:36AM (#40785194)
I'm not sure that's true that it's (always) done in software. For example, the newest Framework Laptop 13 has higher resolution screens that come with rounded corners, because whatever supplier had a large stock of them lying around. If it was just software, the concept of having a "rounded corner screen" from a supplier wouldn't exist.
Re:Round Rects Are Everywhere by pfg_ on Tuesday June 25, 2024 @04:10AM (#40785812)
I'm pretty sure it's a screen cutout - the corners are still rounded when fullscreen zooming, and on asahi linux. There's also another cutout for the notch at the top of the screen. Also, it's not a great panel and the blacks aren't very good - you can still see light coming from the monitor with a full back image in fullscreen and it changes based on brightness.

So if it is software, then it's very low level and with darker blacks than anything else on screen, and has a super tiny bezel right at the corner. I'm pretty sure it's a cutout.