bevy_smud 0.14.0

2d sdf shape renderer plugin for Bevy
Documentation
use bevy::prelude::*;
use bevy_pancam::*;
use bevy_smud::*;

fn main() {
    App::new()
        .insert_resource(ClearColor(Color::srgb(0.7, 0.8, 0.7)))
        .add_plugins((DefaultPlugins, SmudPlugin, PanCamPlugin))
        .add_systems(Startup, setup)
        .run();
}

fn setup(mut commands: Commands, asset_server: Res<AssetServer>) {
    let bevy_shape_shader = asset_server.load("star_bevy.wgsl");

    commands.spawn(SmudShape {
        color: Color::srgb(0.36, 0.41, 0.45),
        sdf: bevy_shape_shader,
        bounds: Rectangle::from_length(800.),
        ..default()
    });

    // bevy_smud comes with anti-aliasing built into the standard fills
    // which is more efficient than MSAA, and also works on Linux, wayland
    commands.spawn((Camera2d, PanCam::default(), Msaa::Off));
}