1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-09-02 12:54:23 +02:00

figured out how to reuse sketches with data-attribute parameters

This commit is contained in:
Pomax
2020-08-26 21:56:58 -07:00
93 changed files with 5805 additions and 24390 deletions

View File

@@ -8,5 +8,6 @@ Let's look at how a parametric Bézier curve "splits up" into two normal functio
If you move points in a curve sideways, you should only see the middle graph change; likewise, moving points vertically should only show a change in the right graph.
<graphics-element title="Quadratic Bézier curve components" width="825" src="./quadratic.js"></graphics-element>
<graphics-element title="Cubic Bézier curve components" width="825" src="./cubic.js"></graphics-element>
<graphics-element title="Quadratic Bézier curve components" width="825" src="./components.js" data-type="quadratic"></graphics-element>
<graphics-element title="Cubic Bézier curve components" width="825" src="./components.js" data-type="cubic"></graphics-element>