From 6814d9fede0f0e86f0dd01aff19c9a412495b1cd Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Mon, 26 May 2014 20:43:13 -0700 Subject: [PATCH 1/1] Name z --- medusa.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/medusa.html b/medusa.html index 0576312..d133692 100644 --- a/medusa.html +++ b/medusa.html @@ -12,7 +12,8 @@ var angle = (finger_angle + twirl_angle * finger_progress) * 2 * Math.PI; var x = ring_radius * Math.cos(angle); var y = ring_radius * Math.sin(angle); - path.push([x, y, params.finger_height * finger_progress]); + var z = params.finger_height * finger_progress; + path.push([x, y, z]); } return nt3d.extrude(path, finger_crosssection, [0, 0, 1], nt3d.pathnormals_from_point(path, [0, 0, 0])); } -- 2.44.1