{"size": 1356, "ext": "js", "max_stars_repo_path": "src/P5/Shape/Curves.js", "max_stars_repo_name": "thought2/purescript-p5", "max_stars_repo_stars_event_min_datetime": "2019-11-22T04:14:23.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-06T21:02:04.000Z", "max_issues_repo_path": "src/P5/Shape/Curves.js", "max_issues_repo_name": "thought2/purescript-p5", "max_issues_repo_issues_event_min_datetime": "2019-09-22T13:12:07.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T07:07:53.000Z", "max_forks_repo_path": "src/P5/Shape/Curves.js", "max_forks_repo_name": "thought2/purescript-p5", "max_forks_repo_forks_event_min_datetime": "2020-08-12T00:15:43.000Z", "max_forks_repo_forks_event_max_datetime": "2022-01-16T01:45:10.000Z"}
{"max_stars_count": 15, "max_issues_count": 8, "max_forks_count": 3, "avg_line_length": 29.4782608696, "max_line_length": 66, "alphanum_fraction": 0.616519174}
function trimRightUndefined(array) {
  return array.filter(function (x, i) {
    return i < array.length - 1 || x !== undefined;
  });
}
function callP5(p5, method, args) {
  return method.apply(
    p5, trimRightUndefined(args));
}
exports.bezierImpl = function(p, x1, y1, x2, y2, x3, y3, x4, y4) {
  return function() {
    callP5(p, p.bezier, [x1, y1, x2, y2, x3, y3, x4, y4]);
  };
};
exports.bezierDetailImpl = function(p, detail) {
  return function() {
    callP5(p, p.bezierDetail, [detail]);
  };
};
exports.bezierPointImpl = function(p, a, b, c, d, t) {
  return callP5(p, p.bezierPoint, [a, b, c, d, t]);
};
exports.bezierTangentImpl = function(p, a, b, c, d, t) {
  return callP5(p, p.bezierTangent, [a, b, c, d, t]);
};
exports.curveImpl = function(p, x1, y1, x2, y2, x3, y3, x4, y4) {
  return function() {
    callP5(p, p.curve, [x1, y1, x2, y2, x3, y3, x4, y4]);
  };
};
exports.curveDetailImpl = function(p, resolution) {
  return function() {
    callP5(p, p.curveDetail, [resolution]);
  };
};
exports.curvePointImpl = function(p, a, b, c, d, t) {
  return callP5(p, p.curvePoint, [a, b, c, d, t]);
};
exports.curveTangentImpl = function(p, a, b, c, d, t) {
  return callP5(p, p.curveTangent, [a, b, c, d, t]);
};
exports.curveTightnessImpl = function(p, amount) {
  return function() {
    callP5(p, p.curveTightness, [amount]);
  };
};