1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-28 10:40:52 +02:00

Merge pull request #54 from mashabow/patch-1

distance -> ratio
This commit is contained in:
Mike Kamermans
2017-02-08 17:43:45 +01:00
committed by GitHub

View File

@@ -145,10 +145,10 @@ var Whatis = React.createClass({
\]</p>
<p>So let's look at that in action: the following graphic is interactive in that you can use your
up and down arrow keys to increase or decrease the interpolation distance, to see what happens. We start
up and down arrow keys to increase or decrease the interpolation ratio, to see what happens. We start
with three points, which gives us two lines. Linear interpolation over those lines gives use two
points, between which we can again perform linear interpolation, yielding a single point. And that
point —and all points we can form in this way for all distances taken together— form our Bézier curve:</p>
point —and all points we can form in this way for all ratios taken together— form our Bézier curve:</p>
<Graphic title="Linear Interpolation leading to Bézier curves" setup={this.setup} draw={this.draw} onKeyDown={this.onKeyDown}/>