Skip to content

Commit 8c02b5c

Browse files
committed
remove old div+code elements from examples
1 parent 5e62309 commit 8c02b5c

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/strands/p5.strands.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,6 @@ if (typeof p5 !== "undefined") {
310310
* A value between `0.0` and `1.0`
311311
*
312312
* @example
313-
* <div modernizr="webgl">
314-
* <code>
315313
* // Example 1: A soft vertical fade using smoothstep
316314
*
317315
* let fadeShader;
@@ -338,12 +336,8 @@ if (typeof p5 !== "undefined") {
338336
* background(0);
339337
* filter(fadeShader);
340338
* }
341-
* </code>
342-
* </div>
343339
*
344340
* @example
345-
* <div modernizr="webgl">
346-
* <code>
347341
* // Example 2: Animate the smooth transition over time
348342
*
349343
* let animatedShader;
@@ -369,8 +363,6 @@ if (typeof p5 !== "undefined") {
369363
* background(0);
370364
* filter(animatedShader);
371365
* }
372-
* </code>
373-
* </div>
374366
*/
375367

376368
/**
@@ -787,8 +779,6 @@ if (typeof p5 !== "undefined") {
787779
* will behave as a vec4 holding components r, g, b, and a (alpha), with each component being in the range 0.0 to 1.0.
788780
*
789781
* @example
790-
* <div modernizr='webgl'>
791-
* <code>
792782
* // A filter shader (using p5.strands) which will
793783
* // sample and invert the color of each pixel
794784
* // from the canvas.
@@ -821,12 +811,8 @@ if (typeof p5 !== "undefined") {
821811
*
822812
* filterColor.end();
823813
* }
824-
* </code>
825-
*
826814
*
827815
* @example
828-
* <div modernizr='webgl'>
829-
* <code>
830816
* // This primitive edge-detection filter samples
831817
* // and compares the colors of the current pixel
832818
* // on the canvas, and a little to the right.
@@ -883,8 +869,6 @@ if (typeof p5 !== "undefined") {
883869
* rotate(frameCount / 300);
884870
* square(0, 0, 30);
885871
* }
886-
* </code>
887-
* </div>
888872
*/
889873

890874
/**

0 commit comments

Comments
 (0)