Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/huacnlee/gpui-gradient

Generate a Gradient like CSS
https://github.com/huacnlee/gpui-gradient

gpui gradient

Last synced: 6 days ago
JSON representation

Generate a Gradient like CSS

Awesome Lists containing this project

README

        

# GradientElement for GPUI

This is a simple Element to render a gradient for GPUI.

The core implementation is based drawing the gradient into a bitmap img, and then use `cx.paint_image()` to render the image to the GPUI.

## Ranbow Gradient

image

## Development

```bash
cargo run --example hello_world
```