Crates.io | ramp_gen |
lib.rs | ramp_gen |
version | 0.1.1 |
created_at | 2024-12-13 17:28:35.531306+00 |
updated_at | 2024-12-26 07:38:41.073794+00 |
description | Generate color ramps in rust and wgsl. |
homepage | |
repository | https://github.com/mintlu8/ramp_gen |
max_upload_size | |
id | 1482375 |
size | 27,241 |
Generate functions for rust and wgsl similar to Blender's "Color Ramp" node.
|x: f32| ramp!(ease [0.0, 5.0], [0.5, 0.0], [7.0, 5.0])
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.