text: 
  const Engine = Matter.Engine;
  const World = Matter.World;
  const Bodies = Matter.Bodies;
  const Body = Matter.Body;
  
  var btn2;
  
  var angle=60;
  var fan1
  var fan2
  
  
  function setup() {
    createCanvas(400,400);
  
    engine = Engine.create();
    world = engine.world;
    
     var ball_options = {
      restitution: 0.95,
      frictionAir:0.01
    }
     
     var ground_options ={
       isStatic: true
     };
    
  fan1 = new Ground(50,350,20,100);
  fan2 = new Ground(330,350,20,100);
  
     btn2 = createImg('up.png');
    btn2.position(350,30);
    btn2.size(50,50);
    btn2.mouseClicked(vForce);
  
    ground1 = Bodies.rectangle(200,250,100,20,ground_options);
    World.add(world,ground1);
  
    ball = Bodies.circle(100,10,20,ball_options);
    World.add(world,ball);
    
   
    ground = Bodies.rectangle(100,400,650,20,ground_options);
    World.add(world,ground); 
    
    rectMode(CENTER);
    ellipseMode(RADIUS);
  }
  
  
  function draw() 
  {
    background(51);
    Engine.update(engine);
    
    
    Matter.Body.rotate(ground1,angle)
   push();
    translate(ground1.position.x,ground1.position.y);
    rotate(angle);
    rect(0,0,100,20);
    pop();
    
    angle +=0.1;
  
    fan1.display();
    fan2.display();
  
    ellipse(ball.position.x,ball.position.y,20);
    rect(ground.position.x,ground.position.y,650,20);
   
  //console.log(ground.position.y);
  
    
    
  }
  
  function vForce()
  {
    Matter.Body.applyForce(ball,{x:0,y:0},{x:0,y:-0.05});
  }
    