bevy_pen_tool
A Bevy Engine plugin for making 2D paths and smooth animations with Bezier curves
TODO:
- Mesh-making functionality for building 2D shapes and roads
Controls
How to
- run main.rs
- explore and have fun
- spawn multiple curves
- compute the look-up tables for each curve
- latch the curves together if they are not already latched at spawn
- move the anchors and control points to a desired position (there is a "hide control points" button for when they overlap with anchors)
- select the latched curves by clicking and dragging a selection box
- group the curves and repeat step 4
- save the look-up table
- use the look-up table in your app (see the simple_animation.rs example)
Notes
- bevy_pen_tool does not work with a Perspective Camera (only Orthographic)
- cannot save multiple groups at once, only a single one
- currently, the plugin only works with bevy version 0.5, rev="615d43b", but this will change rather soon
- pressing load will delete everything on the canvas before loading
- the gif below is a bit out of date: selection is now done by dragging the edge of a box, the look-up tables are computed upon pressing Left Shift + T or the corresponding button, and there is no undo/redo functionality at the moment