text: function Bird(differentheight) {
    this.y = height / 2;
    this.x = differentheight;
  
  
    this.gravity = 0.7;
    this.lift = -12;
    this.velocity = 0;
  
  
    this.show = function() {
      fill(random(255));
      ellipse(this.x, this.y, 30, 30);
    };
  
  
    this.up = function() {
      this.velocity += this.lift;
    };
  
  
    this.update = function() {
      this.velocity += this.gravity;
      // this.velocity *= 0.9;
      this.y += this.velocity;
  
  
      if (this.y > height) {
        this.y = height;
        this.velocity = 0;
      }
  
  
      if (this.y < 0) {
        this.y = 0;
        this.velocity = 0;
      }
    };
  }