Introducing Halcyon, a GPU-accelerated UI framework for Rust
DEV Community

Introducing Halcyon, a GPU-accelerated UI framework for Rust

Hello everyone, I'd like to introduce Halcyon, an open-source UI framework for Rust.

Halcyon is a cross-patform, retained-mode UI framework built on wgpu. It is designed bot both, regular desktop applications and applications requiring specialized rendering, like complex data visualization, and interactive graphics.

The framework includes a rich set of widgets, advanced data views, timelines, node graphs, custom GPU rendering, and integrated 2.5D and 3D rendering with physically based rendering (PBR).

The website itself is built with Halcyon and runs in WebAssembly.

Demonstrations

There are three demonstration available:

  • Showcase: the regular widgets and UI components.
  • 3D Viewer: a PBR rendering, a collection of 130 Poly Haven models and a parametric assembly demo.
  • Fractal Fun: an interactive Mandelbrot, Julia and Riemann sphere visualizations.

Background

I started developing Halcyon entirely for my own use, I had no intention of ever making it public. The reason for that was that I wanted the freedom to make my own architectural decisions, so that the needs of my applications would drive the development of the framework.

Then over time, I came to believe that what I had built might also be useful to other developers.

For those interested in the architectural decisions behind Halcyon, and their tradeoffs, I've documented them in the Design Philosophy and Architectural Rationale: https://github.com/halcyon-framework/halcyon/blob/master/docs/guide/design-rationale.md

Status and Links

Halcyon is currently in beta and is available under the MIT license. Development and testing have primarily been focus on macOS and Windows 10, Enterprise LTSC, with Linux requiring further testing.

The project has been in development since November 2025, initially for private use, and is independently maintained with extensive AI assistance.

Website: https://halcyon-framework.org

GitHub: https://github.com/halcyon-framework/halcyon

Crates.io: https://crates.io/crates/halcyon-rs

You are welcome to explore. I hope you'll find it interesting.

Top comments (1)

The dogfooding is what makes this land for me: the website itself is built with Halcyon and runs in WebAssembly, so the framework is already carrying its own front door. Retained-mode on wgpu is a deliberate bet - the framework owns the scene graph, which is exactly what makes the 3D Viewer demo with 130 Poly Haven models a real proof point rather than a toy, and the Fractal Fun demos are a good stress test for per-frame GPU work.

One question: with retained mode, how do you keep GPU buffer uploads from becoming the bottleneck when a timeline or node graph mutates every frame - is there a dirty-region or incremental re-record strategy, or does the whole affected subtree get re-uploaded? That is usually where retained-mode frameworks win or lose on frame budget.

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.