This project was done for academic course "Mathematical methods of computer graphics" at University of Wrocław.
- clone repository: git clone https://github.com/jdzejdzej/bezier_editor.git
- create virtualenv in bezier_editor: virtualenv --no-site-packages env
- activate virtualenv: . env/bin/activate or for Windows env\Scripts\activate
- install dependencies: pip install -r requirements.txt
- for Windows users: download precompiled dependencies from https://www.lfd.uci.edu/~gohlke/pythonlibs and install from wheel
python bezier_editor.py
- Bezier Curve
- Parametric Bezier Curve
- add/delete/copy curve
- rotate/translate curve
- split/join curve (c0, c1)
- elevate/reduce degree of curve
- convex hull
- add/remove points
- change weight of point
- translate point
- change colors of points, curve, convex hull
- save as image
- save as csv
- read from csv