diff --git a/sketches/sketch016.js b/sketches/sketch016.js index db338ef..4db0b62 100644 --- a/sketches/sketch016.js +++ b/sketches/sketch016.js @@ -1,12 +1,7 @@ const {makeSketch} = require('./util'); makeSketch({x: 64, y: 64, z: 128}, {padFrac: 0.1}, (scene, ops) => { - for (let i = 0; i < 256; i++) { + for (let i = 0; i < 180; i++) { ops.worm(scene, {x: Math.floor(64*Math.random()), y: Math.floor(64*Math.random()), z: (Math.random() < 0.5) ? 0 : 127}, 1+Math.floor(3*Math.random()), 2+Math.floor(2*Math.random())); } - - // ops.predicateFill(scene, 0, (x, y, z) => ((x % 16) < 7)); - // ops.predicateFill(scene, 0, (x, y, z) => ((y % 16) < 7)); - // ops.predicateFill(scene, 0, (x, y, z) => ((z % 16) < 15)); - // ops.frontCutaway(scene, 0.5); });