Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 822 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 822 Bytes

Bessel Spline Renderer for Unity

For rendering bessel splines. The effect is as follow.

Usage: Add BesselSpline.cs to any GameObject and assign the list of control points in the inspector. The control points are drawn with sphere gizmos so you can visualize them in the editor window.

As an experiment, I created LineGradient.cs to control an animated color gradient moving on the spline. A changing color gradient can be assigned. The results are not satisfactory, though.

------------- Edit -------------

Note

I made a serious mistake - the curve should be called B¨¦zier curve (https://en.wikipedia.org/wiki/B%C3%A9zier_curve), not to be confused with Bessel curve (a rarely-used mathematical term)