Usage: drawspline in.pgm spline.txt out.pgm
Description: The file spline.txt contains a 2D or 3D spline under the format:
s nbpoints
x1 y1
x2 y2
x3 y3
...
or: S nbpoints
x1 y1 z1
x2 y2 z2
x3 y3 z3
...
Types supported: byte 2D, byte 3d
Category: draw geo