hilbert-curve/scripts/sketch.js
// Removes a point from the drawn curve
Removes a point from the drawn curve
Removes a point from the drawn curve
function stepBackward() {
  if (drawn.length > 0) {
    drawn.pop();
    counter--;
  }
}
function stepBackward ( ) { if ( drawn . length > 0 ) { drawn . pop ( ) ; counter -- ; } }
Removes a point from the drawn curve
Removes a point from the drawn curve