{"size": 515, "ext": "js", "max_stars_repo_path": "atom.js", "max_stars_repo_name": "zachdeibert/AtomicTheoryProject", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "atom.js", "max_issues_repo_name": "zachdeibert/AtomicTheoryProject", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "atom.js", "max_forks_repo_name": "zachdeibert/AtomicTheoryProject", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.4090909091, "max_line_length": 70, "alphanum_fraction": 0.5708737864}
function Atom() {
    this.render = function(canvas) {
        canvas.context.fillStyle = this.color;
        canvas.context.beginPath();
        canvas.context.arc(this.x, this.y, this.size, 0, 2 * Math.PI);
        canvas.context.fill();
    };

    this.x = 0;
    this.y = 0;
    this.size = 8;
    this.color = "#FF0000";
}
Atom.prototype.clone = function() {
    var clone = new Atom();
    clone.x = this.x;
    clone.y = this.y;
    clone.size = this.size;
    clone.color = this.color;
    return clone;
}
