Spline Sketchpad

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

Using B-spline interpolation and approximation, this Demonstration turns your mouse's motion into smooth B-spline curves. Drag the pointer and release. The sketchpad takes care of the rest.

[more]

You can set color, opacity, and thickness for each curve. The other controls change global properties.

The higher the "approximation" slider value is, the smoother the resulting curves will be, but they will be less precise.

[less]

Contributed by: Yu-Sung Chang (March 2011)
Open content licensed under CC BY-NC-SA


Snapshots


Details

In this Demonstration, least squares fitting is used to generate the approximate curves.

Higher-order approximation sometimes results in undesirable fitting, if given points are not smooth enough.



Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.
Send