B-spline: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
(Tidied task description a little, linked to Wikipedia article, added another (more intelligible) reference.)
Line 1: Line 1:
{{draft task}}
{{draft task}}
;Task
Generate a [https://en.wikipedia.org/wiki/B-spline B-spline] curve with a list of 12 points and plot or save image.


Coordinates of control points:

;Task:
Generate a b-spline curve with a list of 12 points and plot or save image :

Coordenates of control point:
start=171,171
start=171,171
1 185,111,
1 185,111,
Line 23: Line 21:


Do not use third party libraries or functions
Do not use third party libraries or functions

;See also
* [https://www.cl.cam.ac.uk/teaching/2000/AGraphHCI/SMEG/node4.html B-splines]
<br><br>

Revision as of 11:17, 29 August 2021

B-spline is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.
Task

Generate a B-spline curve with a list of 12 points and plot or save image.

Coordinates of control points:

   start=171,171 
   1 185,111, 
   2 202,109, 
   3 202,189 
   4 328,160 
   5 208,254 
   6 241,330 
   7 164,252 
   8 69,278 
   9 139,208 
   10 72,148 
   end=168,172


Rules!!!!

Do not use third party libraries or functions

See also