# Questions tagged [spline]

The tag has no usage guidance.

7 questions
Filter by
Sorted by
Tagged with
1 vote
51 views

### How do freehand vector drawing tools typically decide where to place the control points?

I'm devising an algorithm to take a freehand curve and make a bezier spline from it. I can do this already just fine, but it's a naive implementation that creates about as many bezier curves as there ...
• 142
1 vote
96 views

### Matrix form of an open uniform cubic b-spline

I'm trying to find the matrix form for the equation of a cubic b-spline. More specifically, the "middle" part, S_i(t), is pretty straightforward and available everywhere: ...
• 11
1 vote
138 views

### Is there a canonical way to convert G1 continuity to C1 continuity for splines

I understand what C1 and G1 continuity are (e.g. this is not Continuity of parametric and geometric continuity). But let's say I have a list of cubic splines that are, together, G1 continuous. Is ...
60 views

### Sweeping cross section along nurbs curve

I have a nurb/b-spline curve in 2d, and I want to sweep a cross section along it. Here is the curve and resulting "tube" (green points are control points): However, as you can see, the ...
• 133
148 views

### How to decide granularity for sampling a bezier curve for rendetion

If I want to draw a cubic bezier curve, I need to sample points on it and draw the resulting poly lines. One could sample the curve using De Casteljau algorithm and incrementing $t$ from 0 to 1 with a ...
• 516
642 views

### Rendering splines on GPU

We have an application which needs to render spline curves (cubic, bezier, b-spline etc.). We currently have working algorithms in C to stroke the control points of these curves into line strips. The ...
• 153