]> git.r.bdr.sh - rbdr/lissajous/blob - lib/components/color.js
a9877bf66e5e7108d3a020d524e40fa13a7931b6
[rbdr/lissajous] / lib / components / color.js
1 import { Component } from '@serpentity/serpentity';
2
3 export default class Color extends Component {
4 constructor(config) {
5
6 super(config);
7
8 this.r = Math.random();
9 this.g = Math.random();
10 this.b = Math.random();
11 this.a = 1.0;
12 }
13 };
14