Skip to content

Commit 12702f8

Browse files
committed
docs(3d_primitives.js): Attempted brevity
1 parent 3e25740 commit 12702f8

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/webgl/3d_primitives.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -259,14 +259,12 @@ p5.prototype.box = function(width, height, depth, detailX, detailY) {
259259
* background(205, 105, 94);
260260
* rotateY(millis() / 1000);
261261
* sphere(40, detailX.value(), 16);
262-
* describe(`A white rotating sphere-like shape with a diameter of 40.
263-
* Its actual shape is similar to a clam shell.
264-
* Black lines on its surface show how the sphere is built out of
265-
* many small triangles.
266-
* When adjusting the slider below the drawing, the shape increases
267-
* the number of small triangles making up the sphere, making the
268-
* final shape increasingly round as the slider approaches its
269-
* maximum setting.`);
262+
* describe(`A rotating shape, resembling a clam shell or
263+
* “flattened” sphere, with white surface and a diameter of 40.
264+
* The shape is built from many small triangles, which each have
265+
* a black stroke to visually isolate.
266+
* Below the drawing is a slider. Increasing it adds more
267+
* triangles, such that the overall shape becomes rounder as the slider approaches its maximum.`);
270268
* }
271269
* </code>
272270
* </div>

0 commit comments

Comments
 (0)