Skip to content

raylib.DrawSplineCatmullRom

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Draw spline: Catmull-Rom, minimum 4 points

Parameters

Parameter Default Value Note
points
thick 1.0
color WHITE

Return value

None.

Notes

Example

// Draw a Catmull-Rom spline through five points
pts = [[50, 200], [100, 50], [200, 250], [300, 50], [350, 200]]
raylib.DrawSplineCatmullRom pts, 2, raylib.YELLOW

Clone this wiki locally