Skip to content

AustinJia-code/Bezier-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

General

Uses C++ to generate n-degree Bezier curves with SFML visualization.
Calculations are done with De Casteljau's algorithm, which although naive and expensive, allows for the classic Bezier visualization.

./applied contains code for a 3D Python bezier path-following program. No requirements.

Controls

  • Left click to add a joint
  • Right click near a joint to remove it
  • Drag the slider to step through time

Build and Run

mkdir build
cd build
cmake ..
make
./Beziers

Other Commands

In build: make test - builds and runs test.cpp
make run - builds and runs main.cpp

Dependencies

  • CMake 3.10
  • SFML 2.5

Future Plans

  • Expand to splines with cubic Beziers
  • C1 continuity
  • Expand to 3D
  • Make points draggable

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published