logoalt Hacker News

rossanttoday at 11:46 AM2 repliesview on HN

I really like the immediate mode GUI (IMGUI) paradigm. The other day, I looked into whether any web-based IMGUI libraries existed. It seems that HTML and the DOM are designed so differently from IMGUI that such an approach doesn't really make sense, unfortunately, unless everything is rendered manually in a canvas, WebGL, or WebGPU, which brings its own set of challenges.


Replies

ar-nelsontoday at 12:04 PM

I really like Mithril.js (https://mithril.js.org/), which is, IMO, as close as it gets to web IMGUI. It looks a lot like React, but rendering happens manually, either on each event or with a manual m.redraw() call.

show 1 reply
edflsafoiewqtoday at 11:54 AM

Isn't that basically what VDOM is?

show 1 reply