@@ -79,7 +79,7 @@ function getLandform(canvas){
7979 _P = linesN > 1 ?P . map ( a => a ) :arr . map ( a => a ) ;
8080 F . R . push ( _P . sort ( ( a , b ) => b - a ) [ 0 ] ) ;
8181 }
82- P = i > 0 ?ctx . landformPathCurves ( x , y , P , 5 ) :ctx . landformPathCurves ( x , y , arr , 5 ) ;
82+ P = i > 0 ?ctx . landformPathCurves ( x , y , P , 10 ) :ctx . landformPathCurves ( x , y , arr , 10 ) ;
8383 i += 1 ;
8484 }
8585 ctx . stroke ( ) ;
@@ -89,7 +89,7 @@ function getLandform(canvas){
8989 ctx . strokeStyle = "#f00" ;
9090 ctx . lineWidth = 1.0 ;
9191 ctx . beginPath ( ) ;
92- ctx . landformPathCurves ( x , y , arr2 [ i ] , 0 ) ;
92+ ctx . landformPathCurves ( x , y , arr2 [ i ] ) ;
9393 ctx . stroke ( ) ;
9494 i += 1 ;
9595 }
@@ -123,7 +123,7 @@ function getLandform(canvas){
123123 _P = linesN > 1 ?P . map ( a => a ) :arr . map ( a => a ) ;
124124 F . R . push ( _P . sort ( ( a , b ) => b - a ) [ 0 ] ) ;
125125 }
126- P = i > 0 ?ctx . landformPathLines ( x , y , P , 5 ) :ctx . landformPathLines ( x , y , arr , 5 ) ;
126+ P = i > 0 ?ctx . landformPathLines ( x , y , P , 10 ) :ctx . landformPathLines ( x , y , arr , 10 ) ;
127127 i += 1 ;
128128 }
129129 ctx . stroke ( ) ;
@@ -133,7 +133,7 @@ function getLandform(canvas){
133133 ctx . strokeStyle = "#f00" ;
134134 ctx . lineWidth = 1.0 ;
135135 ctx . beginPath ( ) ;
136- ctx . landformPathLines ( x , y , arr2 [ i ] , 0 ) ;
136+ ctx . landformPathLines ( x , y , arr2 [ i ] ) ;
137137 ctx . stroke ( ) ;
138138 i += 1 ;
139139 }
0 commit comments