2023-02-17 11:06:01 +01:00

17 lines
385 B
JavaScript

import { ColorAnimation } from "./ColorAnimation";
export class HslAnimation {
constructor() {
this.h = new ColorAnimation();
this.s = new ColorAnimation();
this.l = new ColorAnimation();
}
load(data) {
if (!data) {
return;
}
this.h.load(data.h);
this.s.load(data.s);
this.l.load(data.l);
}
}