[back to main page]

bezier_curves (version 1.1.6)

Image from "bezier_curves"

Plot rational Bezier curves and smooth interpolated curves (Bezier curves connected smoothly).

These are binaries of the program. No special installation is required, just unpack the archive and run bezier_curves.

Sources of this program are available from this page, in case you're interested.

Documentation below is in somewhat raw state, sorry.

Controlling with mouse:

Left mouse click
If none curve selected, create new curve with one point (so use backspace to start creating new curve), else add point to selected curve after selected point.
Middle mouse click (or left mouse click with Shift down)
Select closest control point (and select it's curve).
Dragging with right mouse button down
If ctrl is not down, then you move selected point. Else you move whole selected curve.

For a whole lifetime, you can have one selected curve and one selected point on that curve.

On start background is inited from UserOptionsPath + default_bezier_curves_image.jpg, if it exists. UserOptionsPath = (linux, freebsd, macosx) home dir, (windows) exe dir.

Save/Open work using non-standard nodes RationalBezierCurve and SmoothInterpolatedCurve (defined in unit VRMLBezierCurve).

RationalBezierCurve {
  SFFloat tBegin 0.0             # must be tBegin <= tEnd
  SFFloat tEnd 1.0
  MFVec3f controlPoints [0 0 0]  # must always have Length >= 1
  MFFloat weights [1]            # must have Length = controlPoints.Length
}

SmoothInterpolatedCurve {
  SFFloat tBegin 0.0             # must be tBegin <= tEnd
  SFFloat tEnd 1.0
  MFVec3f controlPoints [0 0 0]  # must always have Length >= 1
}

Requirements