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