mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-31 20:11:59 +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>
|
||||
|
18
docs/ja-JP/index.html
generated
18
docs/ja-JP/index.html
generated
@@ -41,7 +41,7 @@
|
||||
<meta property="og:locale" content="ja-JP" />
|
||||
<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" />
|
||||
@@ -1658,14 +1658,14 @@ function RationalBezier(3,t,w[],r[]):
|
||||
<td>1</td>
|
||||
<td rowspan="8">
|
||||
<textarea disabled rows="8" role="doc-example">
|
||||
function drawCurve(points[], t):
|
||||
function drawCurvePoint(points[], t):
|
||||
if(points.length==1):
|
||||
draw(points[0])
|
||||
else:
|
||||
newpoints=array(points.size-1)
|
||||
for(i=0; i<newpoints.length; i++):
|
||||
newpoints[i] = (1-t) * points[i] + t * points[i+1]
|
||||
drawCurve(newpoints, t)</textarea
|
||||
drawCurvePoint(newpoints, t)</textarea
|
||||
>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -1701,7 +1701,7 @@ function drawCurve(points[], t):
|
||||
<td>1</td>
|
||||
<td rowspan="10">
|
||||
<textarea disabled rows="10" role="doc-example">
|
||||
function drawCurve(points[], t):
|
||||
function drawCurvePoint(points[], t):
|
||||
if(points.length==1):
|
||||
draw(points[0])
|
||||
else:
|
||||
@@ -1710,7 +1710,7 @@ function drawCurve(points[], t):
|
||||
x = (1-t) * points[i].x + t * points[i+1].x
|
||||
y = (1-t) * points[i].y + t * points[i+1].y
|
||||
newpoints[i] = new point(x,y)
|
||||
drawCurve(newpoints, t)</textarea
|
||||
drawCurvePoint(newpoints, t)</textarea
|
||||
>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -1910,7 +1910,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])
|
||||
@@ -1923,7 +1923,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>
|
||||
@@ -6429,7 +6429,7 @@ lli = function(line1, line2):
|
||||
us:
|
||||
</p>
|
||||
<graphics-element
|
||||
title="Fitting a quadratic Bézier curve"
|
||||
title="Fitting a cubic Bézier curve"
|
||||
width="275"
|
||||
height="275"
|
||||
src="./chapters/pointcurves/cubic.js"
|
||||
@@ -6439,7 +6439,7 @@ lli = function(line1, line2):
|
||||
<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>
|
||||
|
@@ -34,7 +34,7 @@
|
||||
<meta property="og:locale" content="en-GB" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:published_time" content="Fri Sep 18 2020 00:00:00 +00:00" />
|
||||
<meta property="og:updated_time" content="Thu Aug 26 2021 16:34:14 +00:00" />
|
||||
<meta property="og:updated_time" content="Mon Aug 30 2021 14: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" />
|
||||
|
@@ -34,7 +34,7 @@
|
||||
<meta property="og:locale" content="en-GB" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:published_time" content="Sun Nov 22 2020 00:00:00 +00:00" />
|
||||
<meta property="og:updated_time" content="Thu Aug 26 2021 16:34:14 +00:00" />
|
||||
<meta property="og:updated_time" content="Mon Aug 30 2021 14: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" />
|
||||
|
2
docs/news/index.html
generated
2
docs/news/index.html
generated
@@ -33,7 +33,7 @@
|
||||
<meta property="og:description" content="" />
|
||||
<meta property="og:locale" content="en-GB" />
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:published_time" content="Thu Aug 26 2021 16:34:14 GMT+0000 (Coordinated Universal Time)" />
|
||||
<meta property="og:published_time" content="Mon Aug 30 2021 14:51:35 GMT+0000 (Coordinated Universal Time)" />
|
||||
<meta property="og:updated_time" content="" />
|
||||
<meta property="og:author" content="Mike 'Pomax' Kamermans" />
|
||||
<meta property="og:section" content="Bézier Curves" />
|
||||
|
@@ -6,7 +6,7 @@
|
||||
<atom:link href="https://pomax.github.io/bezierinfo" rel="self"></atom:link>
|
||||
<description>News updates for the <a href="https://pomax.github.io/bezierinfo">primer on Bézier Curves</a> by Pomax</description>
|
||||
<language>en-GB</language>
|
||||
<lastBuildDate>Thu Aug 26 2021 16:34:14 +00:00</lastBuildDate>
|
||||
<lastBuildDate>Mon Aug 30 2021 14:51:35 +00:00</lastBuildDate>
|
||||
<image>
|
||||
<url>https://pomax.github.io/bezierinfo/images/og-image.png</url>
|
||||
<title>A Primer on Bézier Curves</title>
|
||||
|
18
docs/ru-RU/index.html
generated
18
docs/ru-RU/index.html
generated
@@ -34,7 +34,7 @@
|
||||
<meta property="og:locale" content="ru-RU" />
|
||||
<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" />
|
||||
@@ -1784,14 +1784,14 @@ function RationalBezier(3,t,w[],r[]):
|
||||
<td>1</td>
|
||||
<td rowspan="8">
|
||||
<textarea disabled rows="8" role="doc-example">
|
||||
function drawCurve(points[], t):
|
||||
function drawCurvePoint(points[], t):
|
||||
if(points.length==1):
|
||||
draw(points[0])
|
||||
else:
|
||||
newpoints=array(points.size-1)
|
||||
for(i=0; i<newpoints.length; i++):
|
||||
newpoints[i] = (1-t) * points[i] + t * points[i+1]
|
||||
drawCurve(newpoints, t)</textarea
|
||||
drawCurvePoint(newpoints, t)</textarea
|
||||
>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -1828,7 +1828,7 @@ function drawCurve(points[], t):
|
||||
<td>1</td>
|
||||
<td rowspan="10">
|
||||
<textarea disabled rows="10" role="doc-example">
|
||||
function drawCurve(points[], t):
|
||||
function drawCurvePoint(points[], t):
|
||||
if(points.length==1):
|
||||
draw(points[0])
|
||||
else:
|
||||
@@ -1837,7 +1837,7 @@ function drawCurve(points[], t):
|
||||
x = (1-t) * points[i].x + t * points[i+1].x
|
||||
y = (1-t) * points[i].y + t * points[i+1].y
|
||||
newpoints[i] = new point(x,y)
|
||||
drawCurve(newpoints, t)</textarea
|
||||
drawCurvePoint(newpoints, t)</textarea
|
||||
>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -2049,7 +2049,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])
|
||||
@@ -2062,7 +2062,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>
|
||||
@@ -6586,7 +6586,7 @@ lli = function(line1, line2):
|
||||
us:
|
||||
</p>
|
||||
<graphics-element
|
||||
title="Fitting a quadratic Bézier curve"
|
||||
title="Fitting a cubic Bézier curve"
|
||||
width="275"
|
||||
height="275"
|
||||
src="./chapters/pointcurves/cubic.js"
|
||||
@@ -6596,7 +6596,7 @@ lli = function(line1, line2):
|
||||
<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>
|
||||
|
10
docs/uk-UA/index.html
generated
10
docs/uk-UA/index.html
generated
@@ -39,7 +39,7 @@
|
||||
<meta property="og:locale" content="uk-UA" />
|
||||
<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" />
|
||||
@@ -2026,7 +2026,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])
|
||||
@@ -2039,7 +2039,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>
|
||||
@@ -6562,7 +6562,7 @@ lli = function(line1, line2):
|
||||
us:
|
||||
</p>
|
||||
<graphics-element
|
||||
title="Fitting a quadratic Bézier curve"
|
||||
title="Fitting a cubic Bézier curve"
|
||||
width="275"
|
||||
height="275"
|
||||
src="./chapters/pointcurves/cubic.js"
|
||||
@@ -6572,7 +6572,7 @@ lli = function(line1, line2):
|
||||
<fallback-image>
|
||||
<span class="view-source">Скрипти вимкнено. показує резервний.</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>
|
||||
|
18
docs/zh-CN/index.html
generated
18
docs/zh-CN/index.html
generated
@@ -41,7 +41,7 @@
|
||||
<meta property="og:locale" content="zh-CN" />
|
||||
<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" />
|
||||
@@ -1617,14 +1617,14 @@ function RationalBezier(3,t,w[],r[]):
|
||||
<td>1</td>
|
||||
<td rowspan="8">
|
||||
<textarea disabled rows="8" role="doc-example">
|
||||
function drawCurve(points[], t):
|
||||
function drawCurvePoint(points[], t):
|
||||
if(points.length==1):
|
||||
draw(points[0])
|
||||
else:
|
||||
newpoints=array(points.size-1)
|
||||
for(i=0; i<newpoints.length; i++):
|
||||
newpoints[i] = (1-t) * points[i] + t * points[i+1]
|
||||
drawCurve(newpoints, t)</textarea
|
||||
drawCurvePoint(newpoints, t)</textarea
|
||||
>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -1658,7 +1658,7 @@ function drawCurve(points[], t):
|
||||
<td>1</td>
|
||||
<td rowspan="10">
|
||||
<textarea disabled rows="10" role="doc-example">
|
||||
function drawCurve(points[], t):
|
||||
function drawCurvePoint(points[], t):
|
||||
if(points.length==1):
|
||||
draw(points[0])
|
||||
else:
|
||||
@@ -1667,7 +1667,7 @@ function drawCurve(points[], t):
|
||||
x = (1-t) * points[i].x + t * points[i+1].x
|
||||
y = (1-t) * points[i].y + t * points[i+1].y
|
||||
newpoints[i] = new point(x,y)
|
||||
drawCurve(newpoints, t)</textarea
|
||||
drawCurvePoint(newpoints, t)</textarea
|
||||
>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -1870,7 +1870,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])
|
||||
@@ -1883,7 +1883,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>
|
||||
@@ -6405,7 +6405,7 @@ lli = function(line1, line2):
|
||||
us:
|
||||
</p>
|
||||
<graphics-element
|
||||
title="Fitting a quadratic Bézier curve"
|
||||
title="Fitting a cubic Bézier curve"
|
||||
width="275"
|
||||
height="275"
|
||||
src="./chapters/pointcurves/cubic.js"
|
||||
@@ -6415,7 +6415,7 @@ lli = function(line1, line2):
|
||||
<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