This (mini) project is about the visualisations of n-dimensional bezier curves. It aims at rendering bezier curves and their properties such as slope and its construction. This project was programmed in python as a fun side project while I was bored during public transport.
- Clone this repository
user:pc/projects$ git clone https://github.com/Dacaspex/bezier-curve-visualiser.git
- Create and activate virtual environment
user:pc/projects$ python -m venv bezier-curve-visualiser
user:pc/projects$ cd bezier-curve-visualiser
user:pc/projects/bezier-curve-visualiser$ Scripts\activate
user:pc/projects/bezier-curve-visualiser$ pip install -r requirements.txt
- Start program
user:pc/projects/bezier-curve-visualiser$ python main.py <nr of control points> <steps>
Bezier curves can be constructed by recursively create linear interpolations between n-1 dimensions and drawing the points. This can be visualised by clicking on the curve. This shows these constructions lines.
You can also take a drag the control points around.