mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-16 21:54:06 +02:00
experimental tangents and normals
This commit is contained in:
@@ -44,7 +44,7 @@ These operations are expensive, and implementing your own code for this is gener
|
||||
|
||||
The following graphic shows Paper.js doing its thing for two shapes: one static, and one that is linked to your mouse pointer. If you move the mouse around, you'll see how the shape intersections are resolved. The base shapes are outlined in blue, and the boolean result is coloured red.
|
||||
|
||||
<Graphic preset="simple" title="Boolean shape operations with Paper.js" paperjs={true} setup={this.setup} draw={this.draw} onMouseMove={this.onMouseMove}><br/>{
|
||||
<Graphic title="Boolean shape operations with Paper.js" paperjs={true} setup={this.setup} draw={this.draw} onMouseMove={this.onMouseMove}><br/>{
|
||||
this.modes.map(mode => {
|
||||
var className = (this.state.mode === mode) ? "selected" : null;
|
||||
return <button className={className} key={mode} onClick={() => this.setMode(mode)}>{mode}</button>;
|
||||
|
Reference in New Issue
Block a user