@@ -49,7 +49,6 @@ var falloff;
4949var midColor ;
5050var topColor ;
5151var bottomColor ;
52- var strokeColor ;
5352var threshold ;
5453
5554// ------ mouse interaction ------
@@ -84,7 +83,6 @@ function setup() {
8483 topColor = color ( 0 , 0 , 100 ) ;
8584 midColor = color ( 191 , 99 , 63 ) ;
8685 bottomColor = color ( 0 , 0 , 0 ) ;
87- strokeColor = color ( 180 , 100 , 100 ) ;
8886 threshold = 0.30 ;
8987
9088 // ------ mouse interaction ------
@@ -101,7 +99,6 @@ function setup() {
10199
102100function draw ( ) {
103101 background ( 0 , 0 , 100 ) ;
104- ambientLight ( 150 ) ;
105102
106103 // ------ set view ------
107104 push ( ) ;
@@ -115,7 +112,7 @@ function draw() {
115112 }
116113 rotationX += ( targetRotationX - rotationX ) * 0.25 ;
117114 rotationZ += ( targetRotationZ - rotationZ ) * 0.25 ;
118- rotateX ( - rotationX ) ;
115+ rotateX ( rotationX ) ;
119116 rotateZ ( - rotationZ ) ;
120117
121118 // ------ mesh noise ------
@@ -154,8 +151,6 @@ function draw() {
154151 interColor = lerpColor ( midColor , topColor , amount ) ;
155152 }
156153 fill ( interColor ) ;
157- stroke ( strokeColor ) ;
158- strokeWeight ( 1 ) ;
159154 vertex ( x , y , z1 * zScale ) ;
160155 vertex ( x , y + tileSizeY , z2 * zScale ) ;
161156 }
0 commit comments