<commit_before>part of aquatics;

class RandomPath extends MovieClip {

  static const double _RAD = PI / 180.0;

  int _top, _bottom, _left, _right;
  double _scale, _alpha, _speed;
  double _x1, _y1, _x2, _y2, _x3, _y3, _x4, _y4;
  double _r0, _radius, _vectorRadius, _vr;
  double _a0, _angle, _vectorAngle, _va;
  double _t = 0.0;
  Duration _period;
  Timer _timer;
  Random _random = new Random();
  List<DisplayObject> _elements = new List();

  RandomPath({double x0, double y0, int top, int left, int bottom, int right,
              double speed: 0.01, double alpha: 0.15, double scale: 1.0,
              double r0: 100.0, double radius: 20.0, double vectorRadius: 50.0,
              double a0: 45.0, double angle: 40.0, double vectorAngle: 80.0,
              int count: 10, int period: 70}) {

    _top = top; _bottom = bottom; _left = left; _right = right;
    _speed = speed; _alpha = alpha; _scale = scale;
    _r0 = r0; _radius = radius; _vectorRadius = vectorRadius;
    _a0 = a0; _angle = angle; _vectorAngle = vectorAngle;
    _period = new Duration(milliseconds: period);<commit_msg>Inherit from Sprite instead of MovieClip<commit_after>part of aquatics;

class RandomPath extends Sprite {

  static const double _RAD = PI / 180.0;

  int _top, _bottom, _left, _right;
  double _scale, _alpha, _speed;
  double _x1, _y1, _x2, _y2, _x3, _y3, _x4, _y4;
  double _r0, _radius, _vectorRadius, _vr;
  double _a0, _angle, _vectorAngle, _va;
  double _t = 0.0;
  Duration _period;
  Timer _timer;
  Random _random = new Random();
  List<DisplayObject> _elements = new List();

  RandomPath({double x0, double y0, int top, int left, int bottom, int right,
              double speed: 0.01, double alpha: 0.15, double scale: 1.0,
              double r0: 100.0, double radius: 20.0, double vectorRadius: 50.0,
              double a0: 45.0, double angle: 40.0, double vectorAngle: 80.0,
              int count: 10, int period: 70}) {

    _top = top; _bottom = bottom; _left = left; _right = right;
    _speed = speed; _alpha = alpha; _scale = scale;
    _r0 = r0; _radius = radius; _vectorRadius = vectorRadius;
    _a0 = a0; _angle = angle; _vectorAngle = vectorAngle;
    _period = new Duration(milliseconds: period);
{'fraction_non_alphanumeric': 0.10653536257833482, 'fraction_numerical': 0.049239033124440466, 'mean_word_length': 3.123616236162362, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2315856', 'n_tokens_mistral': 842, 'n_tokens_neox': 771, 'n_words': 266}