Skip to content

A little python program to optimize Bézier Curves (especially when they are hardcoded), so that the program requires the actual program requires the minimum amount of calculations.

License

Notifications You must be signed in to change notification settings

dorythecat/BezierOptimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ff1c7a5 · · Sep 7, 2025

History

50 Commits
Sep 4, 2025
Sep 4, 2025
Sep 7, 2025
Sep 5, 2025

Repository files navigation

BezierOptimizer

A little python program to optimize Bézier Curves (especially when they are hardcoded), so that the program requires the actual program requires the minimum number of calculations..

Why?

This program is mainly made both as a personal challenge and as a way to precalculate the equations needed for a Bézier curve of n order. This is so that I do not have to calculate them every time I need them, or have to fight with the numbers to make it into a simpler and more efficient operation. I even included both Python and Matlab output modes so that you can more easily get them actually imported wherever you need them, without too much hassle. It's also pretty easy (I think) to modify, to add new output modes tbh.tbh.

Usage

This program is designed to be used as a command line tool. To use it follow the instructions you will get when you run the program with no arguments, or the -h or --help flags. Aka, to see hwo to use the program, just run python main.py, python main.py -h or python main.py --help. It's that easy. :D

Example command output: Example command output

About

A little python program to optimize Bézier Curves (especially when they are hardcoded), so that the program requires the actual program requires the minimum amount of calculations.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages