Expand description
A simple and expressive API for drawing 2D and 3D graphics, built on Bevy.
The heart of this crate is Draw - a state machine that records drawing
commands (shapes, paths, meshes, text and textures) and converts them into meshes for
rendering. Construct one via Draw::new, chain calls like draw.ellipse() or
draw.background() to describe a scene, and let the renderer turn it into Bevy meshes.
Add the NannouDrawPlugin to a Bevy App to enable the Draw API: it attaches a Draw
component to each window and renders the recorded commands each frame via the
render module. The nannou crate re-exports this API and adds
this plugin for you, so most users will not need to depend on nannou_draw directly.
Modules§
- color
- draw
- A simple API for drawing 2D and 3D graphics.
- render
- text
- Text layout and measurement via parley.