aboutsummaryrefslogtreecommitdiff
path: root/lib/components/triple_frequency.js
blob: e98410e22f8da8e88c5cc469a1e0ec14319e6d0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { Component } from '@serpentity/serpentity';

export default class TripleFrequency extends Component {
  constructor(config) {

    super(config);

    this.a = this.a || 2 * Math.PI * Math.random();
    this.b = this.b || 2 * Math.PI * Math.random();
    this.c = this.c || 2 * Math.PI * Math.random();
  }
};