Cubic bezier curve : get sub curve coordinates

Click For Summary
SUMMARY

The discussion focuses on extracting a "sub-curve" from a standard cubic Bezier curve defined by four control points. The user seeks to calculate the intermediate control points for the sub-curve that represents the first 10% of the original curve. The standard method referenced is De Casteljau's algorithm, which is essential for determining points on Bezier curves. The user is encouraged to explore animations and resources available on Wikipedia for a better understanding of the geometric construction of Bezier curves.

PREREQUISITES
  • Understanding of cubic Bezier curves and their control points
  • Familiarity with De Casteljau's algorithm
  • Basic knowledge of geometric constructions and interpolation
  • Experience with mathematical modeling in graphics programming
NEXT STEPS
  • Study the implementation of De Casteljau's algorithm in programming languages like JavaScript or Python
  • Explore the mathematical principles behind cubic Bezier curves
  • Learn about curve interpolation techniques in computer graphics
  • Investigate libraries that handle Bezier curves, such as Paper.js or D3.js
USEFUL FOR

Graphic designers, game developers, and software engineers working with animations or vector graphics who need to manipulate Bezier curves for precise control over shapes and paths.

Nabeshin4
Messages
2
Reaction score
0
cubic bezier curve : get "sub curve" coordinates

Hi,

I have a standard cubic bezier curve defined by 4 points, what I'm trying to get is a "sub-curve" of this one (from the same point of origin, to one particular point on this curve, with the same curve).

For example, getting the first 10% from this curve, also defined as a bezier curve by 4 points, getting point of origin and end point is easy, but I really have no idea of how to calculate the position of the 2 other points (the points giving directional information). Any idea/hint of how to calculate this ?
 
Mathematics news on Phys.org


Thanks a lot, that's exactly what I was looking for.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 11 ·
Replies
11
Views
13K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 39 ·
2
Replies
39
Views
5K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
4K