vello/examples
Chad Brokaw 15cd306af6 Extend modes for gradients
This patch implements the pad, repeat and reflect extend modes for gradient brushes. Adds a new example demonstrating the functionality.

Also fixes a few bugs:
* Clamps alpha in blend.wgsl for the `blend_compose` function. The `Plus` mode was generating `alpha > 1.0` leading to incorrect rendering.
* Small change to radial gradients in fine.wgsl to reject pixels outside the cone when the circles don't nest. This requires further work to properly extend the cone when one of the radii is not 0.
2023-04-30 23:11:57 -04:00
..
assets Change image to flower 2023-03-22 15:53:44 -07:00
headless Fix the headless example for wgpu 0.16 2023-04-24 10:41:25 -07:00
run_wasm Update cargo-run-wasm 2023-04-24 15:46:18 -07:00
scenes Extend modes for gradients 2023-04-30 23:11:57 -04:00
with_bevy Update the bevy example to wgpu 0.16 (#313) 2023-04-27 08:41:17 +01:00
with_winit Enable wasm-bindgen feature of instant crate 2023-04-23 16:00:01 -07:00