jonmmease / avenger

Experimental Vega visualization renderer in Rust using wgpu
BSD 3-Clause "New" or "Revised" License
25 stars 1 forks source link

Add image mark #35

Closed jonmmease closed 9 months ago

jonmmease commented 9 months ago

Adds support for image marks. Some notes:

Here are some examples rendered by this PR:

Vega-Lite logos example: image-logos

aspect = false image-logos_sized_aspect_false

aspect = true with baseline and align specifications image-logos_sized_aspect_true_align_baseline

expanded image with smooth=true image-smooth_true

expanded image with smooth=false image-smooth_false

example with larger images that triggers multi-batch logic: image-large_images