bcholmes: (java)
[personal profile] bcholmes

Do any of you understand splines well? Specifically Cubic B-Curves?

I have some data that I'm trying to render in SVG. My data looks like this:

  • Curve type (in this case, Cubic B-Spline)
  • Resolution (as a float)
  • A start parameter (float) and an end parameter (float)
  • An array of points (float x and float y)

I'm trying to figure out how to represent this information as an SVG path. Specifically, SVG uses "control points" to indicate how the curve is formed. But I don't understand these curves well enough to figure out the math.

This account has disabled anonymous posting.
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Profile

bcholmes: (Default)
BC Holmes

February 2025

S M T W T F S
      1
2345678
9101112131415
16171819202122
2324252627 28 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Powered by Dreamwidth Studios