@@ -2038,6 +2038,7 @@ function renderer3D(p5, fn) {
20382038 * instanceData = createStorage(data);
20392039 * instance = buildGeometry(drawInstance);
20402040 * instancesShader = buildMaterialShader(drawInstances);
2041+ * describe('Five spheres at random positions, each a different random color.');
20412042 * }
20422043 *
20432044 * function drawInstance() {
@@ -2092,6 +2093,7 @@ function renderer3D(p5, fn) {
20922093 *
20932094 * gameShader = buildComputeShader(simulate);
20942095 * displayShader = buildFilterShader(display);
2096+ * describe('An animated Game of Life simulation displayed as black and white pixels.');
20952097 * }
20962098 *
20972099 * function simulate() {
@@ -2231,6 +2233,7 @@ function renderer3D(p5, fn) {
22312233 * computeShader = buildComputeShader(simulate);
22322234 * displayShader = buildMaterialShader(display);
22332235 * instance = buildGeometry(drawParticle);
2236+ * describe('100 orange particles shooting outward.');
22342237 * }
22352238 *
22362239 * function makeParticles(x, y) {
@@ -2305,6 +2308,7 @@ function renderer3D(p5, fn) {
23052308 * computeShader = buildComputeShader(simulate);
23062309 * displayShader = buildMaterialShader(display);
23072310 * instance = buildGeometry(drawParticle);
2311+ * describe('50 white spheres bouncing around the canvas.');
23082312 * }
23092313 *
23102314 * function drawParticle() {
@@ -2406,6 +2410,7 @@ function renderer3D(p5, fn) {
24062410 * computeShader = buildComputeShader(simulate);
24072411 * displayShader = buildMaterialShader(display);
24082412 * instance = buildGeometry(drawParticle);
2413+ * describe('50 white spheres bouncing around the canvas.');
24092414 * }
24102415 *
24112416 * function drawParticle() {
@@ -2474,6 +2479,7 @@ function renderer3D(p5, fn) {
24742479 *
24752480 * gameShader = buildComputeShader(simulate);
24762481 * displayShader = buildFilterShader(display);
2482+ * describe('An animated Game of Life simulation displayed as black and white pixels.');
24772483 * }
24782484 *
24792485 * function simulate() {
0 commit comments