{"size": 406, "ext": "js", "max_stars_repo_path": "Arm/client.js", "max_stars_repo_name": "bing-zhub/IoTNode4Node-Red", "max_stars_repo_stars_event_min_datetime": "2020-06-17T04:51:05.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-17T04:51:05.000Z", "max_issues_repo_path": "Arm/client.js", "max_issues_repo_name": "bing-zhub/IoTNode4Node-Red", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Arm/client.js", "max_forks_repo_name": "bing-zhub/IoTNode4Node-Red", "max_forks_repo_forks_event_min_datetime": "2020-05-14T01:59:21.000Z", "max_forks_repo_forks_event_max_datetime": "2020-05-14T01:59:21.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 27.0666666667, "max_line_length": 60, "alphanum_fraction": 0.6798029557}
var TWEEN = require("@tweenjs/tween.js")
var position = [0,0,0,0];
var target = [100,200,100,1000];
var tween = new TWEEN.Tween(position).to(target, 2000);
var motion = eval("TWEEN.Easing.Quadratic.Out");
tween.onUpdate(function(){
  console.log(position)
});
tween.easing(motion);
tween.start();

// while(!(target.x==position.x && target.y == position.y)){
  while(target!==position){
  TWEEN.update();
}