Build apps using Blender's Architecture.

GPU accelerated, cross-platform, Supports 10+ Languages.

curl -LsSf https://bui.preetham.top/install.sh | sh

Linux and macOS · then bui new my-app (Rust, JavaScript, Python, Lua, C, D, C#, Go or Ruby) or bui init in your own project

~5 ms first frame40× sooner than gpui-fast0 ms idle CPUSee the numbers
A real BUI window: a Blender modifier stack with collapsible panels, enum rows, number fields, dropdowns, a slider, checkboxes and buttonsA real BUI window: a Blender modifier stack with collapsible panels, enum rows, number fields, dropdowns, a slider, checkboxes and buttons
  • ~7MB

    Release binary

  • ~5ms

    First frame

  • ~15MB

    Memory while idle

  • 0ms

    Idle CPU per minute

Write it the way you already write UI

Ten languages, a dozen syntaxes, one C runtime. Eight of them are here; every snippet comes from the repository's docs and examples.

Syntax

Your tkinter app, unchanged

Every public tkinter and ttk name is there: 7,846 of 7,846. Run an existing program with blenderui-tk and it wakes up looking like Blender.

greet.py
import blenderui.tksyntax as tk
from blenderui.tksyntax import ttk, messagebox
root = tk.Tk()
name = tk.StringVar(value="Cube")
ttk.Entry(root, textvariable=name).pack(fill="x", padx=8, pady=8)
ttk.Button(root, text="Greet",
command=lambda: messagebox.showinfo("Hi", "Hello " + name.get())).pack()
root.mainloop()
An unmodified tkinter program on BUI: a glTF export dialog with entries, check and radio buttons, a spinbox, an option menu, a scale and a listbox, drawn with Blender's widgetsAn unmodified tkinter program on BUI: a glTF export dialog with entries, check and radio buttons, a spinbox, an option menu, a scale and a listbox, drawn with Blender's widgets
examples/site/tk_export.py, unmodified tkinter

$ pip install blenderui && blenderui-tk my_app.py

Blender's own widgets, as components

Not look-alikes: the number fields, sliders, color picker and node editor are ported from Blender's source, behaviour included.

Try a Blender number field

  1. 1Drag a number sideways to scrub it. Shift is finer, Ctrl snaps.
  2. 2Click a field and type 2*pi or 90/4: Blender's expression evaluator.
  3. 3Ctrl+Z undoes it. A whole drag is one step.
Transform

Location

X
Y
Z
Scale

Render

A browser sketch of BUI's widgets, not the native ones. Try: drag down across X, Y and Z, hover a field and pressCtrl C then Ctrl V on another, Shift while dragging, Backspace.

Drag a number sideways, or drag down across X, Y and Z.

A browser sketch of the feel. In BUI these widgets are native, drawn by the C kit.

45 widgets and editors, from Python

Panels, number sliders, the color picker, pie menus, tree views and a node editor: Blender's own, ported from interface_widgets.cc.

object.py
from blenderui.components import App, Panel, NumberSlider, VectorField, Checkbox, ColorSwatch, Button
App("Object", (420, 520),
Panel("Transform",
VectorField("Location", (0.0, 1.25, 0.0)),
NumberSlider("Scale", 1.0, min=0, max=10, on_change=print)),
Panel("Shading",
Checkbox("Shadows", True),
ColorSwatch("Color", (0.8, 0.3, 0.1, 1.0))),
Button("Apply", on_click=lambda: print("apply")),
).run()
Blender components from Python: a Render Properties editor with panels, sub-panels with header checkboxes, number fields, sliders, dropdowns, a color swatch and a progress barBlender components from Python: a Render Properties editor with panels, sub-panels with header checkboxes, number fields, sliders, dropdowns, a color swatch and a progress bar

Multiple addons

Charts, dockable panels and more, built on the same renderer and ready to drop into your app.

BUI Panels

Infinite tiling: dockable panels with splits, tabs and a saved layout.Read the guideA port of zopra-panels, itself a port ofTrellis.

Blender's interaction rules, in your app

The habits Blender users rely on all day come along for free, in every language BUI speaks.

Pie menus

Press a key, flick toward a choice, release. Point here to aim.

Menu search that gets you

“ad cu” finds Add Cube; typos are forgiven. It's Blender's search, ported, and it also runs this site's .

  • Add Cube
  • Add Cylinder
  • Add Camera
  • Add Light
  • Apply Scale
  • Apply Rotation
  • Shade Smooth
  • Shade Flat
  • Duplicate Objects
  • Delete
  • Join
  • Set Origin to Geometry
  • Snap Cursor to Selected
  • Mark Seam
  • Subdivide

Your fingers already know it

The keyboard habits of Blender users, in every app.

  • steps a valueCtrl+Wheel
  • copy and paste valuesCtrl+C/Ctrl+V
  • resets to the defaultBackspace
  • moves between fieldsTab

Press, drag, release

Menus open on press and pick on release, so a whole choice is one gesture. Drag across checkboxes to set them all.

Multi-field drags

Drag down across X, Y and Z to edit all three at once, and hover a field with Ctrl+C then Ctrl+V on another to copy a value. Panels collapse with Blender's own animation. The panel above is a browser sketch; the real widgets are native.

Real Blender code

Widget drawing is a C port of interface_widgets.cc; interaction follows interface_handlers.cc.

Native on desktop and Android

Windows, Linux, macOS and Android today. iOS isn't built yet.

What runs where
FeatureWindowsLinuxmacOSAndroidiOS
WindowNative (Win32)Native (X11, Wayland experimental)Native (Cocoa)Native (NativeActivity)PlannedNot yet
Python (pip install)WorksWheelsWorksWheelsWorksWheelsPlannedNot yetPlannedNot yet
RustWorksWorksBuild from sourceWorksWorksandroid_main!PlannedNot yet
JavaScript / ReactWorksPrebuilt on npmWorksPrebuilt on npm (glibc 2.35+)PartialHeadless for nowWorksReact, Vue, Svelte on QuickJSPlannedNot yet
C, C++, Dear ImGuiWorksWorksWorksWorksPlannedNot yet
RendererCPU raster, or GPU (Direct3D 11)CPU raster, or GPU (OpenGL 3.3)CPU rasterCPU raster—
HiDPIPer-monitor DPIXft.dpiRetinaDisplay density—

WorksThe macOS window host is a port of Blender's Cocoa code (GHOST), and it works: checked by CI and tried by hand on three Macs (two Apple Silicon, one Intel), by Krish Kalaria, who also fixed what he found, and DanNoby, and piaoboo (an Intel MacBook Pro). Python can also use the standard Tk window there (BUI_HOST=tk). If you have an older macOS and a free afternoon, the macOS testing guide walks you through it.

On the roadmap

Honest status: these aren't built yet. Follow along, or pick one up.

  • Planned

    macOS GPU and JavaScript windows

    The Cocoa host works (tried by hand on three Macs). Next there: the GPU renderer (Metal, or OpenGL) and Node windows on the main thread.

  • Planned

    WebAssembly

    The kit in the browser: the raster blits to a <canvas>, and React and the DOM-like API run on top, unchanged.

  • Planned

    egui

    BUI panels inside egui apps, plus a Blender-styled egui theme.

  • Planned

    Angular, Solid and Lit

    Thin adapters over @blender-ui/native, the layer React, Svelte and Vue already share.

  • Planned

    More languages

    C#, Zig, Swift and Kotlin over the same C header; Godot, Unity, Bevy and Flutter.

  • Planned

    Font fallback and more IME

    Per-glyph fallback (Blender's BLF), input methods on X11 and macOS (Windows has them), units in number fields and widget drag and drop.

  • Planned

    Vulkan and WebGPU

    More GPU backends drawing the same instance stream as Direct3D 11 and OpenGL.

  • In progress

    More Qt

    Date and calendar widgets, QThread, drag and drop and Qt stylesheets, on top of today's docks, toolbars, model/view and dialogs.

The full roadmap

Blender's UI, minus the default cube.