Porting Blender, Inkscape, and TrenchBroom to the Web

Back in 2010 I wrote that native applications are doomed. By that, I meant that the web platform would eventually have all the pieces required to run software equivalent to desktop native software.

Sixteen years later, I was curious to see how existing desktop software could be ported to the client-side web without emulating the whole Linux kernel. Using Gemini 4 Neon, I ported three open-source C++ creative apps to run 100% locally in the browser, ending up with three different approaches depending on each app's desktop stack.

Inkscape (Inkweb)

Compiled the headless C++ core and graphics stack to WebAssembly, replacing the GTK4 UI with a pure vanilla JS canvas UI.
Try it at inkscape.client-side.app (source).

Vector SVG screenshot of Inkweb running in the browser, showing a dark vector graphics editor with toolbars, rulers, color wheel dock, color palette strip, right-click context menu, and a canvas displaying Inkweb text with selection handles, gradient mountains, shapes, and a glowing orange sun.
Inkweb running locally in the browser.

Here's what my agent wrote about how it works:

Inkscape's C++ engine (SPDocument, Cairo, Pango, HarfBuzz, 2Geom, Livarot, Potrace, LittleCMS2) compiles to a 12 MB SIMD WebAssembly module running inside a Web Worker with zero-copy ArrayBuffer transfers and dirty-rect Cairo blitting at up to 2× DPR. The vanilla JS frontend recreates desktop manipulation (handles, Bezier nodes, inline text editing, Live Path Effects, Shape Builder, Potrace tracing, and File System Access local open/save) and lazy-loads PDF.js, Pyodide, and WebRTC collaboration on demand.

Blender (BlendWeb)

Adapted the native C++ desktop app (built on OS windowing and OpenGL/Vulkan/Metal) to WebAssembly with a new WebGPU backend and frame-stepped rendering.
Try it at blendweb.client-side.app (source, requires a WebGPU browser).

Screenshot of BlendWeb running Blender's full interface in the browser over WebGPU, showing the 3D viewport with the selected default cube, floor grid, camera, Outliner, Properties panel, and Timeline.
BlendWeb running Blender's full GPU-drawn interface in the browser over WebAssembly and WebGPU.

Here's what my agent wrote:

Because Blender draws its entire UI on the GPU, the full C++ app and Python runtime compile via Emscripten (94 MB stripped blender.wasm) behind two new browser backends: GHOST_SystemWeb for input and browser File System Access pickers, and a ~7,500-line C++ WebGPU backend translating GLSL/BSL shaders through SPIR-V and Naga to WGSL at runtime. Workbench and EEVEE run on WebGPU, Cycles CPU steps single-threaded on the main loop without pthreads or COOP/COEP, viewport picking uses CPU BVH raycasts, and F12 renders step across requestAnimationFrame with async WebGPU readback.

TrenchBroom

Its C++ / Qt 6 / OpenGL stack compiled very well to WebAssembly and WebGL, keeping the entire desktop UI intact.
Try it at trenchbroom.client-side.app (source).

Screenshot of TrenchBroom running in the browser, showing a textured Quake courtyard level with a recessed water pool, brick pillar, entities, 3D viewport toolbar, Layers and Map Properties sidebar, and Console panel.
TrenchBroom running locally in the browser over Qt 6 for WebAssembly and WebGL 2.0 with a bundled starter Quake map.

Here's what my agent wrote:

Built with Emscripten and Qt 6 for WebAssembly (wasm_singlethread, 20 MB TrenchBroom.wasm), porting legacy GLSL 120 shaders to WebGL 2.0 / GLES 3.0. All 3D/2D viewports share a single offscreen WebGL 2.0 context with 4× MSAA FBOs blitted GPU-to-GPU via Canvas2D into the Qt Shadow DOM (avoiding glReadPixels stalls), synchronous dialogs are converted to non-blocking .open() flows, and the build adds Pointer Lock mouse look, IndexedDB persistence, a bundled starter Quake WAD2 pack and courtyard map, and offline PWA support.

All three live alongside other local browser tools at client-side.app.