Doubts the Bezier curve in mathematica

Doubts the Bezier curve in mathematica

Due

Because of work needs to Bezier curve as the characters that appear in the line, so the game design in a number of curves; for the control points> Bezier curve Discover the different practice and game shows

For the control point 50,1400 path3 is {{}, {600,813}, {- 400,628}, {110,296}, {440,136}, {192}} -105

* Path game

Game path
Game path

* Mathematica there are different

First direct commands as Bezier

Graphics[{BezierCurve[pts3], Green, Line[zon], Black, Point[zon]}, 
 Axes -> True]

Obtain the following graphic
Appears not smooth out intersecting

This is explained as follows for administration mathematica
Not smooth out intersecting

And gives two overlapped manner smoothing, and therefore it is considered inaccurate deprecated

Adjacent points Total points approximation
Adjacent points Total points approximation

Strange b-spline

There is a b-spline curve is a function of the mathematica , the function is defined as
Non-Uniform Rational B-Spline curve looks like a Bezier curve associated with, but any contact is currently unknown
treated with b-spline curve a smooth curve obtained path3
Code

Graphics[{BSplineCurve[pts3, SplineKnots -> Automatic], Green, 
 Line[zon]}]

b-spline curves smooth
b-spline curves smooth

But still there is a big gap between the particular region of the outer mathematica zon there are two curved portions of the drawing

Currently there are three doubts

  • B-spline and Bezier distinction in which
  • mathematica whether the multi-order Bezier curve is a simple splicing
  • What is the relationship between the present generation example is given of a multi-stage mathematica Bezier curve

Guess you like

Origin www.cnblogs.com/yuvejxke/p/11265677.html
Recommended