You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* describe('On a gray background, a black spline passes through vertices A, B, C, D, E, and F, shown as white circles. A red line segment joining vertices A and C has the same slope as the red tangent segment at B. Similarly, the blue line segment joining vertices D and F has the same slope as the blue tangent at E.');
1908
+
* }
1909
+
* </code>
1910
+
* </div>
1824
1911
*/
1825
1912
1826
1913
/**
@@ -2096,6 +2183,95 @@ function customShapes(p5, fn) {
2096
2183
* }
2097
2184
* </code>
2098
2185
* </div>
2186
+
*
2187
+
* @example
2188
+
*
2189
+
* <div>
2190
+
* <code>
2191
+
* let vertexA;
2192
+
* let vertexB;
2193
+
* let vertexC;
2194
+
* let vertexD;
2195
+
* let vertexE;
2196
+
* let vertexF;
2197
+
*
2198
+
* let markerRadius;
2199
+
*
2200
+
* let vectorAB;
2201
+
* let vectorFE;
2202
+
*
2203
+
* let endOfTangentB;
2204
+
* let endOfTangentE;
2205
+
*
2206
+
* function setup() {
2207
+
* createCanvas(100, 100);
2208
+
*
2209
+
* // Initialize variables
2210
+
* // Adjusting vertices A and F affects the slopes at B and E
* describe('On a gray background, a black spline passes through vertices A, B, C, D, E, and F, shown as white circles. A red line segment joining vertices A and C has the same slope as the red tangent segment at B. Similarly, the blue line segment joining vertices D and F has the same slope as the blue tangent at E.');
0 commit comments