iced/examples/geometry
Héctor Ramón Jiménez faa7627ea4
Introduce web-colors feature flag to enable sRGB linear blending
This is how browsers perform color management. They treat
gamma-corrected sRGB colors as if they were linear RGB.

Correctness aside, this mode is introduced for legacy reasons. Most
UI/UX tooling uses this color management as well, and many have created
an intuition about how color should behave from interacting with a
browser.

This feature flag should facilitate application development with `iced`
in those cases.

More details: https://webcolorisstillbroken.com/
2023-05-31 21:31:58 +02:00
..
src Introduce web-colors feature flag to enable sRGB linear blending 2023-05-31 21:31:58 +02:00
Cargo.toml Create iced_widget subcrate and re-organize the whole codebase 2023-03-04 05:37:11 +01:00
README.md Re-introduce the geometry example 2022-11-28 19:42:53 +01:00

Geometry

A custom widget showcasing how to draw geometry with the Mesh2D primitive in iced_wgpu.

The main file contains all the code of the example.

You can run it with cargo run:

cargo run --package geometry