“Robot 4: Translate, Rotate, Scale” (page 174) - added easing

I saw that easing variable was added, but no easing code was included so that easing happened. so, I modified the first few lines of function draw () to make easing happen:

function draw() {
  var targetX = mouseX;
  x += (targetX - x) * easing;
  var neckY = -1 * (bodyHeight + neckHeight + radius);
  translate(x, y);  // Move all to (mouseX, y)

Is that a page number from Getting Started With p5.js?

Yes, correct. :grinning: