June 24th, 2024

Round Rects Are Everywhere

In 1981, Bill Atkinson developed oval routines for Macintosh. Steve Jobs challenged him to create rounded rectangles, leading to the "RoundRects" feature. This anecdote showcases innovation and collaboration in early Macintosh development.

Read original articleLink Icon
Round Rects Are Everywhere

In May 1981, Bill Atkinson showcased his innovative oval routines to draw circles and ovals quickly on the Macintosh using a unique algorithm. Steve Jobs, however, challenged him to create rectangles with rounded corners, citing their prevalence in the real world. Initially skeptical, Bill eventually succeeded in developing the "RoundRects" primitive, enabling fast rendering of rounded rectangles. This feature became integral to the Macintosh user interface, demonstrating the impact of real-world inspiration on software design. The story highlights the collaborative and inventive spirit within the early Macintosh team, showcasing how a simple observation led to a significant enhancement in graphical capabilities. The narrative also touches on the challenges and surprises inherent in software development, as Bill found creating RoundRects to be easier than anticipated. This historical anecdote sheds light on the creative process and problem-solving approach that characterized the development of iconic technologies like the Macintosh.

Related

X debut 40 years ago (1984)

X debut 40 years ago (1984)

Robert W. Scheifler introduced the X window system in June 1984 for the VS100 Unix server, offering improved performance over W. The system was stable, with the Laboratory for Computer Science already transitioning to X and developing applications. Scheifler encouraged experimentation and welcomed volunteers for documentation contributions.

Atkinson Dithering (2021)

Atkinson Dithering (2021)

The Macintosh in 1984 introduced Atkinson dithering, enhancing image contrast with a unique error spreading pattern. iKe allows users to apply Atkinson dithering effects by converting images to grayscale matrices.

The First Spatial Computing Hack

The First Spatial Computing Hack

Ryan Pickren found a Safari bug letting websites flood a user's space with 3D objects. Apple fixed it (CVE-2024-27812) in June after Ryan's report. The bug exploited Apple AR Kit Quick Look, launching objects without consent.

My weekend project turned into a 3 years journey

My weekend project turned into a 3 years journey

Anthony's note-taking app journey spans 3 years, evolving from a secure Markdown tool to a complex Electron/React project with code execution capabilities. Facing challenges in store publishing, he prioritizes user feedback and simplicity, opting for a custom online deployment solution.

Show HN: Field report with Claude 3.5 – Making a screen time goal tracker

Show HN: Field report with Claude 3.5 – Making a screen time goal tracker

The author shares their positive experience using Claude 3.5 Sonnet to track screen time goals. Claude proved reliable, fast, and auditable, aiding in reducing screen time through visualizations and goal setting. Despite design flaws, Claude improved performance with accurate metrics and visualizations, benefiting the author's screen time tracking.

Link Icon 39 comments
By @userbinator - 4 months
Windows used rounded corners on its buttons from 1.0 to 3.11, then switched to square ones until XP's themed UI, where they were slightly rounded again, until 8 went back to square, and now with 11 they are again rounded:

https://user-images.githubusercontent.com/7389110/64139289-3...

I still prefer the sharp corners.

By @wanderingstan - 4 months
I’ve enjoyed this story over several decades, but what stands out to me now is the fact that Bill Atkinson was working from home during the creation of the Macintosh.
By @xnx - 4 months
Aren't Apple rounded rectangles now squircles? https://medium.com/minimal-notes/rounded-corners-in-the-appl...
By @dang - 4 months
Related:

Round rectangles are everywhere - https://news.ycombinator.com/item?id=28679496 - Sept 2021 (26 comments)

History of Rounded Corners - https://news.ycombinator.com/item?id=7062706 - Jan 2014 (1 comment)

Steve Jobs and Rounded Corners - https://news.ycombinator.com/item?id=3096927 - Oct 2011 (1 comment)

The story of round rectangles - https://news.ycombinator.com/item?id=1636358 - Aug 2010 (77 comments)

By @trevmckendrick - 4 months
It's underrated how great Steve Jobs's taste was, and how sincere the "liberal arts + technology" line is
By @Mikhail_Edoshin - 4 months
One example of rounded rectangles added purely for aesthetic purposes was the desktop window of the old Mac. When the display turned on during boot, it was naturally square, but then one of the first things the software did was to round its corners. Then they stayed this way until maybe another software switched into full screen. There was nothing like that on Windows and it was obviously a “useless” thing to do. I liked that detail.
By @stefan_ - 4 months
> Over the next few months, roundrects worked their way into various parts of the user interface, and soon became indispensable.

At which point we realized they are just a fad like any other design ever was and went to sharp corners and flat design. And back to round corners, and back to sharp, and back to..

Hell, I can see this circle of hell happening in front of my very eyes. I think a year ago someone at Chrome had the brilliant idea to "refresh the design" as happens so often in big organizations and suddenly the tabs got round and we got little round corners around the navigation bar and..

By @semolino - 4 months
Mac OS ROM hack to generate fully circular windows: https://web.archive.org/web/20201209143138/https://macgui.co...
By @cat_plus_plus - 4 months
Learning how to design models for 3D printing now, and rounded corners are a matter of necessity as much as aesthetics. Objects with sharp corners are uncomfortable to hold, even risk of injury with some materials. They are also unhygienic and pain to clean dust out of. On the flipside, math to generate rounded corners on arbitrary shapes is messy and printing these out often requires supports and postprocessing to remove those and polish the curves with sandpaper.
By @TheDudeMan - 4 months
"No, there's no way to do that. In fact it would be really hard to do."

Why would Bill say this? Why would his ellipse optimization not be trivially applicable to a quarter-circle?

By @aj7 - 4 months
In day camp in Brooklyn, we always had woodworking. In successive summers, we had an instructor who wanted us to round the corners and edges of everything, and another instructor who insisted we keep everything as square and sharp as possible.
By @noahlt - 4 months
Every time I see this story, I try counting the round vs square rectangles, and in practice they seem about even in my life. Door frames, picture frames, books, cabinets, and windows are all actually squared off.

(And natural things aren’t rectangles at all!)

By @m463 - 4 months
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.

By @waterhouse - 4 months
By @paulcole - 4 months
> "No, there's no way to do that…”

This is the key line to me. It turned out it could be done and in less than a day. Even very smart and talented people sometimes need a jerk to tell them to make it happen. Sometimes it backfires and sometimes it doesn’t.

By @zX41ZdbW - 4 months
Round rectangles can look not round enough on low-DPI displays, and the colors can also be wrong due to incorrect averaging in non-linear color space. Example: https://github.com/ClickHouse/ClickHouse/pull/33453#issuecom...

It is similar to how subtle gradients look striped and dirty on many websites if displayed with only 24-bit color: https://github.com/cockroachdb/cockroach/issues/91316

By @langcss - 4 months
I wish I knew about this in the microcomputer days. I started off with SIN() and COS() for circles which were very slow. I realized that you can just scan down a pixel at a time in the Y axis and use Pythagoras for the X. Also for a circle that calculation does 4 points.

But the way posted here would much much faster than that!

By @WillAdams - 4 months
It works well for the Mac OS, but for all that it's a core part of the Mac OS identity, I really hate that Microsoft is using round rectangles to the point that device manufacturers are painting the underside of laptop and tablet glass screens so as to cause a physical rounded effect at the corners, and I'd liefer have the crisp square Windows 10 screen appearance than the rounded Windows 11 (though the overall increase in consistency is nice otherwise).
By @ralferoo - 4 months
I wasn't even aware that the Mac existed at the time, but I always had a fondness for rounded rectangles because the Amstrad CPC character set had 16 characters that represented all possible combinations of a central dot with N, E, S, W spokes. They were rounded for the 4 cases that represented 90 degrees, and the rounded rectangle look was perfect for using as borders around things.

This was 1984, so wouldn't have been long after the original Mac but was maybe influenced by it. As far as I know, no other 8-bit computers have rounded container characters like this. I later used PCs, and the CGA text mode had its nice 1/2 line variants, which were good for variety, but they were square so I never found them as appealing as the rounded ones I knew from the Amstrad.

By @beambot - 4 months
Can someone explain the technical detail a bit more detailed than on Folklore...?
By @spot1984 - 4 months
By @camgunz - 4 months
I remember working on homework for "Discrete Computational Structures" (had to look it up ) in undergrad and having to come up with that sum of sequence of odds is the sequence of squares trick (it becomes clear if you visualize 4 blocks, then 9 blocks). I was like, "is this what I'm supposed to be learning, this feels like I just figured this out by luck". I think I got a B?
By @dmd - 4 months
This conversation exemplifies every positive interaction I've ever had with any of my really good advisors or bosses. It's exactly what I want from my boss - to be told "that good, but not quite good enough, and I know you can do better even if you don't know it yet".

And then I go off and think some more and outdo myself.

By @nlunbeck - 4 months
Round rect technique aside (fascinating stuff!), the storytelling here is really charming. Reads like a clever short story

> Bill returned to Texaco Towers the following afternoon, with a big smile on his face. His demo was now drawing rectangles with beautifully rounded corners blisteringly fast, almost at the speed of plain rectangles.

By @bdahz - 4 months
Related post discussing the rounded shapes (and squircles) in design tools:

https://blog.verygoodgraphics.com/posts/rounded-shapes/

By @29athrowaway - 4 months
I much rather prefer the old UIs that were highly responsive at the speed of thought.
By @femto - 4 months
The thing I like is that Bill Atkinson didn't spit the dummy when he didn't get the expected reception to his ovals. Instead he took on the challenge of round rectangles and came up with a solution.
By @jFriedensreich - 4 months
Rounded corners is much like semicolons, and rebasing / merging something impossible to discuss. Most people either strongly dislike the one or the other and are unable to reconcile.
By @LarsDu88 - 4 months
Wow. So this is why Apple's campus visitor center literally has no corners in it. Even the stairwells have all rounded corners.
By @behnamoh - 4 months
Not just rounded rectangles, but squircles too. Every icon or rectangular element in Apple software and hardware is a squircle.
By @aalvarado - 4 months
Love the story, could have added more in terms of how the round corners feature was solved
By @lazy_afternoons - 4 months
Loved it. Will remember this everytime I add "rounded" in tailwind. :)
By @layer8 - 4 months
> Then he pointed out the window.

…which hopefully was still a non-rounded rectangle.

By @philipwhiuk - 4 months
By @uwagar - 4 months
they are everywhere indeed because sharp corners can hurt people.
By @cantSpellSober - 4 months
Can we add (1981) to the title please
By @aj7 - 4 months
Yeah, but how?
By @flohofwoe - 4 months
Oooof, so the rounded corners in UIs is just another Jobs-fetish by UI designers, got it ;(
By @novia - 4 months
I viewed this on my RoundRect