mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-20 07:21:43 +02:00
18 lines
563 B
Markdown
18 lines
563 B
Markdown
# Drawing Bezier paths
|
|
|
|
- draw with a mouse, stylus, or finger
|
|
- RDP to reduce the number of points along the path
|
|
- abstract curve through points:
|
|
- high order bezier, split and reduced
|
|
- fit compound bezier
|
|
- catmull-rom
|
|
|
|
<div className="figure">
|
|
<Graphic title="Fitting a Bézier curve" setup={this.setup} draw={this.draw} onClick={this.onClick}>
|
|
<button onClick={this.toggle}>toggle</button>
|
|
<button onClick={this.reset}>reset</button>
|
|
<SliderSet ref={ set => (this.sliders=set) } onChange={this.processTimeUpdate} />
|
|
</Graphic>
|
|
</div>
|
|
|