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§

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