Overview
A 2D Bézier curve math library for Dart, designed for precise curve calculations and manipulation. Built upon the foundational work of @TheRealPomax, it provides robust tools for generating, evaluating, and analyzing Bézier curves. Ideal for graphics, animation, and path generation in Flutter applications. The library supports all major platforms and includes live examples for demonstration. It is lightweight and focused on mathematical accuracy.
Use cases
- Animating paths in UI
- Generating smooth curves for drawings
- Creating custom shapes in graphics
- Interpolating between points
- Designing vector-based animations
- Implementing curve-based motion
Key features
- Accurate 2D Bézier math
- Support for multiple curve types
- Evaluation at any parameter t
- Curve subdivision capabilities
- Platform-agnostic implementation
- Live example integration
Suitable for
- Flutter developers working with animations
- UI designers needing smooth paths
- Graphics and visualization projects
- Math-heavy app logic
- Educational tools for curve theory
- Game development with curved movement
Considerations
- Not intended for 3D curves
- Requires understanding of Bézier mathematics
- Limited to basic curve operations
- No built-in rendering support
- Best used with a graphics layer
- Depends on external documentation for advanced use