<commit_before>import createSpline from 'utils/create-spline';

/**
 * Path class
 */
class Path extends THREE.Line {

  constructor( points = [] ) {

    super();

    this.curve = createSpline( points );
    this.points = this.curve.getSpacedPoints( 100 );

    this.material = new THREE.LineBasicMaterial({ color: false, transparent: true, opacity: 0 });

    this.geometry = new THREE.Geometry();
    this.geometry.vertices = this.points;
  }
}

export default Path;<commit_msg>Experience - Change path to an Object3D and remove line geometry/material<commit_after>import createSpline from 'utils/create-spline';

/**
 * Path class
 */
class Path extends THREE.Object3D {

  constructor( points = [] ) {

    super();

    this.curve = createSpline( points );
    // this.points = this.curve.getSpacedPoints( 100 );
    //
    // const geometry = new THREE.Geometry();
    // geometry.vertices = this.points;
    //
    // const material = new THREE.LineBasicMaterial({ color : 0xff0000 });
    // const line = new THREE.Line( geometry, material );
    // this.add( line );
  }
}

export default Path;
{'fraction_non_alphanumeric': 0.134841628959276, 'fraction_numerical': 0.012669683257918552, 'mean_word_length': 3.0661764705882355, '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': '5758635', 'n_tokens_mistral': 356, 'n_tokens_neox': 320, 'n_words': 86}