blob: 8362c82f64c6ae2b1dd4be2a28be6fe30dc54b15 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import { Component } from '@serpentity/serpentity';
/**
* Stores three values of amplitude, intended for a 3D parametric curve.
*/
export default class TripleAmplitude extends Component {
constructor(config) {
super(config);
this.a = this.a || Math.random();
this.b = this.b || Math.random();
this.c = this.c || Math.random();
}
};
|