https://github.com/voidnire/beziercurveeditor
Bézier Curve Editor, implemented using Python and Pygame. The application allows users to interactively create and manipulate Bézier curves with control points.
https://github.com/voidnire/beziercurveeditor
pygame python
Last synced: 10 months ago
JSON representation
Bézier Curve Editor, implemented using Python and Pygame. The application allows users to interactively create and manipulate Bézier curves with control points.
- Host: GitHub
- URL: https://github.com/voidnire/beziercurveeditor
- Owner: voidnire
- Created: 2024-12-23T04:37:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-23T04:44:53.000Z (over 1 year ago)
- Last Synced: 2025-03-13T23:08:58.208Z (over 1 year ago)
- Topics: pygame, python
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BezierCurveEditor
Key features include:
- Dynamic Bézier Curve Drawing: Real-time rendering of Bézier curves using the De Casteljau algorithm.
- Interactive Control Points: Add, move, or remove control points with mouse actions.
- Control Polygon: Visual representation of the control points' connections.
- Clear Screen: A button to reset and clear all control points.
- Keyboard Shortcut: Press C to clear the canvas.
How to Run:
- Install Python's latest version and Pygame.
- Clone this repository.
- Run bezier_editor.py using python bezier_editor.py.
This code was created as a final assignment of the discipline Introduction to Computer Graphics.