X-Git-Url: https://git.r.bdr.sh/rbdr/lissajous/blobdiff_plain/362f91160b243453578633e3f9af67ce40179d8c..2b9badac1345c865c34097bc5d1699329b53fdc8:/lib/components/triple_frequency.js diff --git a/lib/components/triple_frequency.js b/lib/components/triple_frequency.js index 1f118b9..e98410e 100644 --- a/lib/components/triple_frequency.js +++ b/lib/components/triple_frequency.js @@ -5,8 +5,8 @@ export default class TripleFrequency extends Component { super(config); - this.a = this.a || Math.random(); - this.b = this.b || Math.random(); - this.c = this.c || Math.random(); + 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(); } };