mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-09-02 21:02:49 +02:00
Automated build
This commit is contained in:
10
docs/index.html
generated
10
docs/index.html
generated
@@ -38,7 +38,7 @@
|
||||
<meta property="og:locale" content="en-GB" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:published_time" content="2013-06-13T12:00:00+00:00" />
|
||||
<meta property="og:updated_time" content="2021-08-26T16:34:14+00:00" />
|
||||
<meta property="og:updated_time" content="2021-08-30T14:51:35+00:00" />
|
||||
<meta property="og:author" content="Mike 'Pomax' Kamermans" />
|
||||
<meta property="og:section" content="Bézier Curves" />
|
||||
<meta property="og:tag" content="Bézier Curves" />
|
||||
@@ -1946,7 +1946,7 @@ function drawFlattenedCurve(curve, segmentCount):
|
||||
<textarea disabled rows="16" role="doc-example">
|
||||
left=[]
|
||||
right=[]
|
||||
function drawCurve(points[], t):
|
||||
function drawCurvePoint(points[], t):
|
||||
if(points.length==1):
|
||||
left.add(points[0])
|
||||
right.add(points[0])
|
||||
@@ -1959,7 +1959,7 @@ function drawCurve(points[], t):
|
||||
if(i==newpoints.length-1):
|
||||
right.add(points[i+1])
|
||||
newpoints[i] = (1-t) * points[i] + t * points[i+1]
|
||||
drawCurve(newpoints, t)</textarea
|
||||
drawCurvePoint(newpoints, t)</textarea
|
||||
>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -6297,11 +6297,11 @@ lli = function(line1, line2):
|
||||
<code>e2</code> points so we can construct a new cubic curve... so now that we have those: let's see what kind of cubic curve that gives
|
||||
us:
|
||||
</p>
|
||||
<graphics-element title="Fitting a quadratic Bézier curve" width="275" height="275" src="./chapters/pointcurves/cubic.js">
|
||||
<graphics-element title="Fitting a cubic Bézier curve" width="275" height="275" src="./chapters/pointcurves/cubic.js">
|
||||
<fallback-image>
|
||||
<span class="view-source">Scripts are disabled. Showing fallback image.</span>
|
||||
<img width="275px" height="275px" src="./images/chapters/pointcurves/eab6ea46fa93030e03ec0ef7deb571dc.png" loading="lazy" />
|
||||
<label>Fitting a quadratic Bézier curve</label>
|
||||
<label>Fitting a cubic Bézier curve</label>
|
||||
</fallback-image></graphics-element
|
||||
>
|
||||
<p>That looks perfectly serviceable!</p>
|
||||
|
Reference in New Issue
Block a user