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.');
1910
+
* }
1911
+
* </code>
1912
+
* </div>
1826
1913
*/
1827
1914
1828
1915
/**
@@ -2098,6 +2185,95 @@ function customShapes(p5, fn) {
2098
2185
* }
2099
2186
* </code>
2100
2187
* </div>
2188
+
*
2189
+
* @example
2190
+
*
2191
+
* <div>
2192
+
* <code>
2193
+
* let vertexA;
2194
+
* let vertexB;
2195
+
* let vertexC;
2196
+
* let vertexD;
2197
+
* let vertexE;
2198
+
* let vertexF;
2199
+
*
2200
+
* let markerRadius;
2201
+
*
2202
+
* let vectorAB;
2203
+
* let vectorFE;
2204
+
*
2205
+
* let endOfTangentB;
2206
+
* let endOfTangentE;
2207
+
*
2208
+
* function setup() {
2209
+
* createCanvas(100, 100);
2210
+
*
2211
+
* // Initialize variables
2212
+
* // 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