Introducing
Hera
A modern open-source application stack targeting Embedded Linux environments.
main.rs
impl View for SomeComponent {
fn build(&self, rt: &mut Runtime, env: &mut Environment) -> UiNode {
h_stack()
.child(spacer())
.child(
view(Color::rgba(0.2, 0.5, 0.9, 1.0))
.frame(120.0, 40.0)
.radius(self.radius)
.shadow(Color::rgba(0.0, 0.0, 0.0, 0.2), 0.0, 4.0, 6.0))
.child(spacer())
.build(rt, env)
}
}For builders
A Modern Application Stack
Architecture
Hera's architecture enables advanced animation and compositional effects by pushing semantic information down the stack all while minimizing GPU contention.
Surface Manager
Privileged Application ("Launcher")
Application
User Application
Hera Kit
Native UI library in Rust
React Native
Fabric Integration (New Architecture)
Compositor / Renderer
("Hera")
GPU
Surface Managers
Develop custom window managers, launchers and experiences that define your systems experience.
main.rs
impl View for SomeComponent {
fn build(&self, rt: &mut Runtime, env: &mut Environment) -> UiNode {
h_stack()
.child(spacer())
.child(
view(Color::rgba(0.2, 0.5, 0.9, 1.0))
.frame(120.0, 40.0)
.radius(self.radius)
.shadow(Color::rgba(0.0, 0.0, 0.0, 0.2), 0.0, 4.0, 6.0))
.child(spacer())
.build(rt, env)
}
}Vulkan Rendering
A performant, highly-optimized Vulkan renderer with support for modern graphics effects.
Isolated Clients
Clients are un-priviledged and isolated from each other. Priviledged clients can compose the display.
Gesture Support
Support for the gestures users have come to expect from modern applications.