text: // Daniel Shiffman
  // http://codingtra.in
  // http://patreon.com/codingtrain
  // Code for: https://youtu.be/uITcoKpbQq4
  
  function Boundary(x, y, w, h, a) {
    var options = {
      friction: 0,
      restitution: 0.95,
      angle: a,
      isStatic: true
    };
    this.body = Bodies.rectangle(x, y, w, h, options);
    this.w = w;
    this.h = h;
    World.add(world, this.body);
    console.log(this.body);
  
    this.show = function() {
      var pos = this.body.position;
      var angle = this.body.angle;
      push();
      translate(pos.x, pos.y);
      rotate(angle);
      rectMode(CENTER);
      strokeWeight(1);
      noStroke();
      fill(0);
      rect(0, 0, this.w, this.h);
      pop();
    };
  }
  