]> git.r.bdr.sh - rbdr/lissajous/blob - lib/components/triple_frequency.js
e98410e22f8da8e88c5cc469a1e0ec14319e6d0a
[rbdr/lissajous] / lib / components / triple_frequency.js
1 import { Component } from '@serpentity/serpentity';
2
3 export default class TripleFrequency extends Component {
4 constructor(config) {
5
6 super(config);
7
8 this.a = this.a || 2 * Math.PI * Math.random();
9 this.b = this.b || 2 * Math.PI * Math.random();
10 this.c = this.c || 2 * Math.PI * Math.random();
11 }
12 };