Forgot prettier

pull/119/head
Maneesh Yadav 2021-05-15 01:41:15 -07:00
rodzic f5cd6b8d78
commit 877fe7d587
1 zmienionych plików z 6 dodań i 8 usunięć

Wyświetl plik

@ -97,9 +97,7 @@ function createRandGrey(rng: Random): string[] {
return hexcolors;
}
function create3V180(angle1: number):
ColorFunction {
function create3V180(angle1: number): ColorFunction {
return (rng: Random): string[] => {
let Ls = [25, 50, 75];
@ -124,7 +122,7 @@ ColorFunction {
//scramble order
hexcolors = rng.uniqueChoices(hexcolors, hexcolors.length);
return hexcolors;
}
};
}
function create3VColor(rng: Random): string[] {
@ -213,7 +211,7 @@ const PALETTE_GENERATORS: {
threev45: createTriadPaletteGenerator(create3V180(45)),
threev60: createTriadPaletteGenerator(create3V180(60)),
threev75: createTriadPaletteGenerator(create3V180(75)),
threev90: createTriadPaletteGenerator(create3V180(90))
threev90: createTriadPaletteGenerator(create3V180(90)),
};
export const RANDOM_PALETTE_ALGORITHMS = Object.keys(