From 944460af8152698f95d5caa9b4185bf4a7ab1ab6 Mon Sep 17 00:00:00 2001 From: Spongman Date: Thu, 11 Jan 2018 09:40:17 -0800 Subject: [PATCH] Update primitives.js resize 3d primitive examples --- src/webgl/primitives.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/webgl/primitives.js b/src/webgl/primitives.js index 15a8f10c47..4856b1894a 100644 --- a/src/webgl/primitives.js +++ b/src/webgl/primitives.js @@ -114,7 +114,7 @@ p5.prototype.plane = function(width, height, detailX, detailY) { * background(200); * rotateX(frameCount * 0.01); * rotateY(frameCount * 0.01); - * box(200, 200, 200); + * box(50); * } * * @@ -227,7 +227,7 @@ p5.prototype.box = function(width, height, depth, detailX, detailY) { * * function draw() { * background(200); - * sphere(50); + * sphere(40); * } * * @@ -395,7 +395,7 @@ var _truncatedCone = function( * background(200); * rotateX(frameCount * 0.01); * rotateZ(frameCount * 0.01); - * cylinder(200, 200); + * cylinder(20, 50); * } * * @@ -469,7 +469,7 @@ p5.prototype.cylinder = function(radius, height, detailX, detailY) { * background(200); * rotateX(frameCount * 0.01); * rotateZ(frameCount * 0.01); - * cone(200, 200); + * cone(40, 70); * } * * @@ -653,7 +653,7 @@ p5.prototype.ellipsoid = function(radiusX, radiusY, radiusZ, detailX, detailY) { * background(200); * rotateX(frameCount * 0.01); * rotateY(frameCount * 0.01); - * torus(200, 60); + * torus(50, 15); * } * *