{"size": 1140, "ext": "js", "max_stars_repo_path": "js/navigation.js", "max_stars_repo_name": "fredanada/pgb-vsu", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "js/navigation.js", "max_issues_repo_name": "fredanada/pgb-vsu", "max_issues_repo_issues_event_min_datetime": "2022-03-15T19:57:01.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-15T19:57:01.000Z", "max_forks_repo_path": "js/navigation.js", "max_forks_repo_name": "fredanada/pgb-vsu", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 26.511627907, "max_line_length": 66, "alphanum_fraction": 0.6429824561}
function openNav() {
  document.getElementById("mySidenav").style.width = "250px";
  document.getElementById("chevron-right").style.display ='none';
  document.getElementById("navigation").style.width = "250px";
  
}

function closeNav() {
  document.getElementById("mySidenav").style.width = "0";
  document.getElementById("chevron-right").style.display ='block';
  document.getElementById("navigation").style.width = "2.7%";
}

var a = new Interface.Panel({ 
  container:document.querySelector("#xyPanel") 
});
var xy = new Interface.XY({
  childWidth: 25,
  numChildren: 6,
  background:"#111",
  fill: "rgba(127,127,127,.2)",
  bounds:[0,0,.6,1],
  oninit: function() { this.rainbow() },  
});
var c = new Interface.Slider({ 
  bounds:[.65,0,.15,1], 
  min:.0, max:.25,
  value:.125,
  fill:'#333', background:'#111',
  onvaluechange: function() { xy.friction = 1 - this.value; },
  label:'friction',
});
var d = new Interface.Slider({ 
  bounds:[.825,0,.15,1],
  target:xy, key:'maxVelocity',
  min:.5, max:20,
  value:15,
  fill:'#333', background:'#111',       
  label:'velocity',
});
      
a.background = 'black';
a.add(xy, c, d);