<commit_before>Jiquid.Particle = function(){
    this.x = x;
    this.y = y;
    this.u = u;
    this.v = v;
    this.gu = u;
    this.gv = v;

    this.dudx = 0;
    this.dudy = 0;
    this.dvdx = 0;
    this.dvdy = 0;
    this.cx = 0;
    this.cy = 0;
    this.gi = 0;

    this.px = [0,0,0];
    this.py = [0,0,0];
    this.gx = [0,0,0];
    this.gy = [0,0,0];
};
<commit_msg>refactored x and y members into a Jello.Vector2<commit_after>Jiquid.Particle = function(x, y, u, v){
    this.position = new Jello.Vector2(x, y);
    this.u = u;
    this.v = v;
    this.gu = u;
    this.gv = v;

    this.dudx = 0;
    this.dudy = 0;
    this.dvdx = 0;
    this.dvdy = 0;
    this.cx = 0; // belongs to cell at x
    this.cy = 0; // belongs to cell at y
    this.gi = 0; // grid index

    this.px = [0,0,0];
    this.py = [0,0,0];
    this.gx = [0,0,0];
    this.gy = [0,0,0];
};

Jiquid.Particle.prototype.draw = function(renderer) {
	renderer.drawPolyline([
	    this.position,
	    this.position.sub(new Jello.Vector2(this.gu, this.gv))
	]);
};

{'fraction_non_alphanumeric': 0.1756633119853614, 'fraction_numerical': 0.03751143641354071, 'mean_word_length': 1.7626262626262625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3911860', 'n_tokens_mistral': 497, 'n_tokens_neox': 472, 'n_words': 101}