]>
git.r.bdr.sh - rbdr/lissajous/blob - lib/components/triple_frequency.js
a67f1cd0d6f032afc014eb0dfd183caee3ba2327
1 import { Component
} from '@serpentity/serpentity';
4 * Stores three values of frequency, intended for a 3D parametric curve.
6 export default class TripleFrequency
extends Component
{
11 this.a
= this.a
|| 2 * Math
.PI
* Math
.random();
12 this.b
= this.b
|| 2 * Math
.PI
* Math
.random();
13 this.c
= this.c
|| 2 * Math
.PI
* Math
.random();