Immediate-Mode Graphical User Interfaces - 2005

Channel:Casey Muratori · Length:40:11 · Published:2016-05-12 · Views:151227

Watch on YouTube

Summary

Casey Muratori's 2005 video introducing immediate-mode GUIs as an alternative to retained widget toolkits. He explains the motivation and shows minimal-state button logic.

Why HN recommends it

Seen as the origin of the IMGUI idea that inspired Dear ImGui, recommended to anyone curious about immediate-mode UI design.

Check out this lecture/demo from nearly 20 years ago — HN, 2024

Software architecture & design · UX & UI design · Game programming & engines

Subtitles (excerpt)

okay hello everybody and welcome to what is hopefully the first in a series of small programming videos um essentially I do a lot of crazy wacky new stuff at Molly rocket as part of the development of our upcoming game and hopefully future games and I don't really have any time to write up papers or produce professional quality lectures that talk about some of the neur techniques that I've been trying that I think are successful or interesting so the goal here is to see if just writing out some sort of makeshift slides on a giant piece of paper and talking about uh you know the methods for a while in front of a video camera will be sufficient to get the idea across and seminate the information um so it's something that I can actually have time to do so uh this this first one is actually a pretty old idea um it's something that I started doing in 2002 or roughly thereabouts and it's called Uh immediate mode graph user interfaces and really it's a style of coding a user interface um or making the code for a user interface of some kind doesn't have to necessarily be an application could be for a game application anything you want um that I think is much easier to use and easier to read and more logical uh and better

On Hacker News

Casey Muratori of handmade hero fame is one of the original pioneers (potentially the first?) of immediate mode user-interfaces. Check out this lecture/demo from nearly 20 years ago: [VIDEO] — tuckerpo, 2024-01
ImGui is engine/GPU agnostic Themeing isn't a just a retained mode thing, you can do wonders with immediate UIs, even though (dear)ImGui doesn't provide much, you can still do wonders: [LINK] The gaming cheating community is quite creative as well: [LINK] More on that topic: [VIDEO] — WhereIsTheTruth, 2023-12
in 2016 Casey Muratori wrote a few words about his old video "IMMEDIATE-MODE GRAPHICAL USER INTERFACES (2005)" -- apparently he'd been using the technique for years by then and had coined the, now commonly used, imgui acronym -- see: [LINK] and if you dive into that video at 16:50 you'll see a very elegant description of minimal state immediate mode button logic; direct time link: [VIDEO] — danhite, 2022-03
It’s a library for making windows, buttons, etc (called widgets), for windows Linux and macOS. If you’d like to make graphical applications though, I recommend immediate mode frameworks [VIDEO] [LINK] [LINK] — billsix, 2018-10
I will also say that this is not an academic argument for me; I am in the middle of writing yet another immediate-mode GUI right now, for the game editor I am working on. Every day I am freshly glad that I am doing things as IMGUI instead of RMGUI. Here is a (somewhat old) video explaining some of the motivations behind structuring things as IMGUI: [VIDEO] — jblow, 2017-03

Related videos