hilbert-curve/scripts/sketch.js
// Adds a point to the drawn curve
Adds a point to the drawn curve
Adds a point to the drawn curve
function stepForward() {
  if (drawn.length < path.length) {
    drawn.push(path[counter++]);
  }
}
function stepForward ( ) { if ( drawn . length < path . length ) { drawn . push ( path [ counter ++ ] ) ; } }
Adds a point to the drawn curve
Adds a point to the drawn curve