Skip to content

A Ratatui Widget for computing styles in the terminal at runtime using the power of the GPU

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

pemattern/tui-shader

Repository files navigation

What is tui-shader?

tui-shader provides the ShaderCanvas StatefulWidget for the ratatui crate allowing us to harness the power of GPU shaders to make our terminals a more beautiful place.

Warning This crate is still very early in development, please expect: bugs, major breaking changes, lack of documentation, poor API design, lots of other terrible things.

Shadertuiy

The example shadertuiy (like shadertoy, get it?) gives an example of a wgsl shader that can be used in tui-shader and let's one play around with shaders by quickly previewing the result.

Examples

For the sake of simplicity, most examples run for a few seconds, and then quit. To run examples use the following command:

cargo run --example=<name-of-example>

About

A Ratatui Widget for computing styles in the terminal at runtime using the power of the GPU

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published