Blender's GPU Accelerated UI, Decoupled from it's original codebase. Supports Rust, Python, JS, React, C & C++. Twice as good as GPUI
requested languages
Preetham Pemmasani79be8e30bbbc
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 9f799b3..83f5126 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -6,6 +6,12 @@ All notable changes to **blenderui** (BUI). The format follows## [Unreleased]+### Changed+- **README and website:** the FAQ says macOS has been tried by hand on two Apple Silicon Macs (it said nobody+ had checked), and a new FAQ entry and the roadmap list what people asked for: Vue and Angular (adapters+ over `@blender-ui/native`), and Lua (a community pull request is in review), Ruby and Go through cgo+ (over the C kit). None of them exists yet.+## [0.4.1] - 2026-11-06### Addeddiff --git a/README.md b/README.mdindex cebcc65..d4f2ceb 100644--- a/README.md+++ b/README.md@@ -38,7 +38,6 @@ more to say.<a href="https://github.com/ppmpreetham/fastrapi"><img src="public/Advertisement.png" alt="FastRAPI"></a>-## Contents**[Part I: Welcome](#part-i-welcome)**@@ -1903,7 +1902,8 @@ ship. The tables below have the details.| **More GPU backends** | Vulkan / WebGPU drawing the same instance stream as Direct3D 11 and OpenGL || **Accessibility** | Screen-reader support through UI Automation (Windows), AT-SPI (Linux) and NSAccessibility (macOS) || **Qt parity** | Measure against PySide6, run the same programs on Qt and BUI, fill in the missing classes, then `install()` so `import PySide6` programs run unchanged |-| **More languages** | MyGo, C#, Go, Zig, Swift, Kotlin and Lua over the same C header; Godot, Unity and Bevy; Flutter |+| **More JavaScript frameworks** | Vue and Angular, as thin adapters over `@blender-ui/native` (the layer React and Svelte share) |+| **More languages** | Lua (a community pull request is in review), Ruby, Go (through cgo), C#, Zig, Swift, Kotlin and MyGo over the same C header; Godot, Unity and Bevy; Flutter|Our roadmap has no dates on it. Like a good render, it's done when the noisegoes away.@@ -1973,12 +1973,27 @@ Loading any other Blender theme file is coming soon.<details><summary><b>Does it run on my Mac?</b></summary>-Probably, but nobody has checked yet: the Cocoa host is written and-experimental. Python can always fall back to the Tk window+Yes, with caveats. The Cocoa host is experimental, but it has been tried by hand+on two Apple Silicon Macs (the bugs they found are fixed) and CI builds and tests+it on Apple Silicon and Intel runners. Nobody has tried an Intel Mac by hand yet,+it draws on the CPU (there is no Metal renderer), and JavaScript windows are+headless there. Python can always fall back to the Tk window(<code>BUI_HOST=tk</code>). If you try it, the notes in<a href="docs/macos-testing.md">docs/macos-testing.md</a> say what to report.</details>+<details>+<summary><b>Can I use BUI from Vue, Angular, Ruby, Go or Lua?</b></summary>+Not yet, but people have asked and they are on the+<a href="#40-status-and-roadmap">roadmap</a>. Vue and Angular would be thin+adapters over <code>@blender-ui/native</code>, the layer React and Svelte already+share (<a href="docs/javascript.md">how to add a framework</a>). Ruby and Go+(through cgo) would call the C kit, <code>BUI_kit.h</code>, which has been+versioned since 0.4.1. A Lua binding is in review as a community pull request. If+you want one sooner, open an issue or a pull request:+<a href="CONTRIBUTING.md">CONTRIBUTING.md</a> says how.+</details>+<details><summary><b>Is it ready for production?</b></summary>Much of it is complete and tested (the C kit, tkinter, the components, Rust,@@ -1990,17 +2005,7 @@ you ship.<details><summary><b>Who wrote it?</b></summary>-All of the code was written by LLM coding agents. None was typed by hand. A-human directs the work, sets the rules the agents follow (`AGENTS.md`) and-reviews the results.--The method matters. Instead of asking an agent to write a UI toolkit from-scratch, the maintainer started from Blender's own UI sources and asked it to-remove everything that isn't UI logic. Agents are much more reliable at-removing than at generating, and what stays is Blender's code. The drawing and-interaction code is ported from Blender's sources, and the behavior is checked-by tests: C, Python, Rust and JavaScript suites, the tkinter side-by-side-programs and the GPU parity test.+LLMs. Not in the way you think. Instead of porting it, we asked an LLM to remove everything that isn't UI logic, and then ported the drawing and interaction code from Blender's sources. Turns out LLMs are better at removing than at generating. We call it Vibe-Pruning.</details><details>diff --git a/website/src/components/landing/Coming.astro b/website/src/components/landing/Coming.astroindex 2a8d59c..fba0e00 100644--- a/website/src/components/landing/Coming.astro+++ b/website/src/components/landing/Coming.astro@@ -6,7 +6,8 @@ const items = [{ title: "macOS, tested", body: "The Cocoa host has been tried by hand on two Apple Silicon Macs, and that found and fixed real bugs. Next: more Macs (Intel, older macOS; testers welcome), then the GPU renderer and JavaScript windows there.", tag: "In progress" },{ title: "WebAssembly", body: "The kit in the browser: the raster blits to a <canvas>, and React and the DOM-like API run on top, unchanged.", tag: "Planned" },{ title: "egui", body: "BUI panels inside egui apps, plus a Blender-styled egui theme.", tag: "Planned" },- { title: "More languages", body: "MyGo, C#, Go, Zig, Swift, Kotlin and Lua over the same C header; Godot, Unity, Bevy and Flutter.", tag: "Planned" },+ { title: "Vue and Angular", body: "Thin adapters over @blender-ui/native, the layer React and Svelte already share.", tag: "Planned" },+ { title: "More languages", body: "Lua (a community pull request is in review), Ruby, Go through cgo, C#, Zig, Swift, Kotlin and MyGo over the same C header; Godot, Unity, Bevy and Flutter.", tag: "Planned" },{ title: "Font fallback and IME", body: "Per-glyph fallback (Blender's BLF), input methods, units in number fields and widget drag and drop.", tag: "Planned" },{ title: "Vulkan and WebGPU", body: "More GPU backends drawing the same instance stream as Direct3D 11 and OpenGL.", tag: "Planned" },{ title: "More Qt", body: "Model/view classes, docks, toolbars, splitters and Qt stylesheets, on top of today's everyday subset.", tag: "In progress" },diff --git a/website/src/content/docs/project/faq.mdx b/website/src/content/docs/project/faq.mdxindex 8f37198..489844c 100644--- a/website/src/content/docs/project/faq.mdx+++ b/website/src/content/docs/project/faq.mdx@@ -47,7 +47,11 @@ Yes, in the ways people notice. An idle window uses no CPU, because BUI redraws## Which platforms does it run on?-Windows and Linux fully; macOS with caveats. The macOS window host is written but hasn't been run on a Mac yet ([help test it](https://github.com/ppmpreetham/BUI/blob/main/docs/macos-testing.md)), JavaScript runs headless there, and there's no GPU renderer on macOS yet. See [Platforms](../../reference/platforms/).+Windows and Linux fully; macOS with caveats. The macOS window host is experimental: CI tests it, and two people have tried it by hand on Apple Silicon Macs (the bugs they found are fixed). Nobody has tried an Intel Mac by hand yet ([help test it](https://github.com/ppmpreetham/BUI/blob/main/docs/macos-testing.md)), JavaScript runs headless there, and there's no GPU renderer on macOS yet. See [Platforms](../../reference/platforms/).++## Can I use BUI from Vue, Angular, Ruby, Go or Lua?++Not yet, but people have asked and they are on the [roadmap](../roadmap/). Vue and Angular would be thin adapters over `@blender-ui/native`, the layer React and Svelte already share ([how to add a framework](../../javascript/native-api/)). Ruby and Go (through cgo) would call the C kit, `BUI_kit.h`, which has been versioned since 0.4.1. A Lua binding is in review as a community pull request. If you want one sooner, open an issue or a pull request; the [contributing guide](../contributing/) says how.## Can I change the colors?diff --git a/website/src/content/docs/project/roadmap.mdx b/website/src/content/docs/project/roadmap.mdxindex f5a0ef7..c053727 100644--- a/website/src/content/docs/project/roadmap.mdx+++ b/website/src/content/docs/project/roadmap.mdx@@ -52,7 +52,8 @@ Each row has a status: **Works** when it works and is tested, **Partial** when c["macOS GPU and JavaScript windows", "planned", "The GPU renderer on Metal (or the OpenGL backend), and Node windows on the main thread"],["More GPU backends", "planned", "Vulkan and WebGPU, drawing the same instance stream as Direct3D 11 and OpenGL"],["Accessibility", "planned", "Screen-reader support through UI Automation (Windows), AT-SPI (Linux) and NSAccessibility (macOS)"],- ["More languages", "planned", "MyGo, C#, Go, Zig, Swift, Kotlin and Lua over the same C header; Godot, Unity and Bevy; Flutter"],+ ["More JavaScript frameworks", "planned", "Vue and Angular, as thin adapters over <code>@blender-ui/native</code> (the layer React and Svelte share)"],+ ["More languages", "planned", "Lua (a community pull request is in review), Ruby, Go (through cgo), C#, Zig, Swift, Kotlin and MyGo over the same C header; Godot, Unity and Bevy; Flutter"],]}/>