Skip to content

bubner/Bezier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bézier Curves

This small Unity app generates Bézier curves using the explicit definition of summated binomial coefficients and linear interpolation. Created as a proof-of-concept and for fun to learn more about the math involved in computer graphics.

equation
Bézier curve general definition

Features

  • Add up to 171 points (double datatype precision)
  • Remove individual or all points
  • Edit points and reflect changes dynamically and instantly (like Desmos)
  • Scrub along a vector by interpolation ratio t with a slider or animation
    • Draw-point scrubbing t shows construction lines as a set of linear interpolations
  • Adjust resolution (delta t) of rendered curve
  • Real-time curve rendering

TODO

  • Coordinate plane
  • Ability to make multiple Bezier curves