Skip to content

kekelp/keru

Repository files navigation

Documentation for the master branch

Keru is an experimental GUI library.

It uses winit and wgpu for cross-platform support, but it has only been tested on Linux and Windows.

See the docs for the master branch for more information.

Getting Started

The best way to get started is to clone the repository and explore the examples.

There are three heavily commented examples that act as a tutorial:

Screenshots

Screenshot of the minimal.rs example and its code.

Examples use the run_example_loop helper, but the "intended" way to use the library is from a user-managed winit/wgpu loop. See the window_loop.rs example.

Screenshot of minimal.rs example

Screenshot of the showcase.rs example:

Screenshot of showcase.rs example

Screenshot of the aesthetics_modern.rs example. (The design is heavily inspired by an example in the Vizia library).

Screenshot of aesthetics_modern.rs example

Recording of the aesthetics_scifi.rs example. It uses a stateful Component to create a reusable button with a hover animation and a blinking ripple click effect. It also uses canvas_drawing to draw a 3D wireframe, just for fun.

aesthetics_scifi.mp4

Screenshot of a basic paint program. The canvas and the color picker are rendered with custom wgpu code.

Screenshot of paint example

About

Experimental GUI library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages