Crate bevy_prototype_lyon

Source
Expand description

Draw 2D shapes in Bevy.

This crate provides a Bevy plugin to easily draw shapes. Some shapes are provided for convenience, however you can extend the functionality of this crate by implementing the Geometry trait by your own.

§Usage

Check out the README.md on the GitHub repository or run the examples.

Modules§

draw
Types for defining shape color and options.
entity
Custom Bevy ECS bundle for shapes.
geometry
Types for defining and using geometries.
path
Types outputting lyon Paths.
plugin
Contains the plugin and its helper types.
prelude
Import this module as use bevy_prototype_lyon::prelude::* to get convenient imports.
shapes
Collection of common shapes that can be drawn.