Crates.io | contrast_renderer |
lib.rs | contrast_renderer |
version | 0.1.2 |
source | src |
created_at | 2021-04-18 19:43:42.664357 |
updated_at | 2023-07-24 13:17:41.65978 |
description | A web-gpu based 2D render engine |
homepage | |
repository | https://github.com/Lichtso/contrast_renderer/ |
max_upload_size | |
id | 386289 |
size | 380,459 |
Contrast is a web-gpu based 2D renderer written in Rust. It renders planar vector graphics and can easily be integrated with other forward-rendering code. Filling uses implicit curves and is resolution-independent, while stroking uses parametric curves and is approximated via polygon tesselation. This way you can have non-diegetic, diegetic and spacial GUI elements on any flat plane:
To get started, checkout the showcase example.
✓ Supported and implemented
◯ Rudimentary support
✗ Planned support, not implemented
Rendering
Filling
Stroking
Path Constructors
Graphical User Interface ✗