Registry / other / bevy-prototype-lyon

bevy-prototype-lyon

JSON →
library0.16.0rscratesunverified

Draw 2D shapes and paths in the Bevy game engine using the Lyon tessellation library.

# Cargo.toml [dependencies] bevy_prototype_lyon = "0.16.0"
INSTALL
IMPORT
SIG · BEVY-PROTOTYPE-LYO
B
bevy-prototype-lyon
otherrustv0.16.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ShapeBundle
use bevy_prototype_lyon::prelude::*;

Spawn a circle shape in Bevy

use bevy::prelude::*; use bevy_prototype_lyon::prelude::*; fn setup(mut commands: Commands) { let shape = shapes::Circle { radius: 50.0, ..default() }; commands.spawn(ShapeBundle::from(shape)); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.16.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
Meta
2
OpenAI (training)
1
Resources
bevy-prototype-lyon — cargo add bevy-prototype-lyon · libregistry