1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-30 19:50:01 +02:00

cursor -> arrow keys

This commit is contained in:
Pomax
2016-01-14 10:29:40 -08:00
parent 1a2fd8b623
commit d4709bddd0
6 changed files with 9 additions and 9 deletions

View File

@@ -78,7 +78,7 @@ var GraduatedOffsetting = React.createClass({
the curve) we know the curve's normal, so offsetting is simply a matter of taking our original
point, and moving it along the normal vector by the offset distance for each point. Doing so
will give us the following result (these have with a starting width of 0, and an end width
of 40 pixels, but can be controlled with your up and down cursor keys):</p>
of 40 pixels, but can be controlled with your up and down arrow keys):</p>
<Graphic preset="simple" title="Offsetting a quadratic Bézier curve" setup={this.setupQuadratic} draw={this.draw} onKeyDown={this.props.onKeyDown}/>
<Graphic preset="simple" title="Offsetting a cubic Bézier curve" setup={this.setupCubic} draw={this.draw} onKeyDown={this.props.onKeyDown}/>