Skip to content

Bezier curves in polynomial and their derivatives in C#, for Unity.

Notifications You must be signed in to change notification settings

denizcokelek/curve-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

curve-editor

Simple Bézier curve creator. The project also includes 1 example for the quadratic curve.

Quadratic Bézier Curve


quadratic bézier curve unity quadratic bézier curve unity

Cubic Bézier Curve


Cubic curve script was created but not visualized in the editor.

Also needs a fourth point at the BezierCurve.cs

public void Reset()
        {
            Points = new Vector3[]
            {
                new Vector3(1f, 0, 0),
                new Vector3(2f, 0, 0),
                new Vector3(3f, 0, 0),
		new Vector3(4f, 0, 0)
            };
        }

About

Bezier curves in polynomial and their derivatives in C#, for Unity.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages