read from color-schemes folder

nix
Ted Moore 4 years ago
parent 570b20adc5
commit e5b25e46e5

@ -47,11 +47,7 @@ FluidWaveform : FluidViewer {
}; };
}, },
1,{ 1,{
if(File.exists("/Users/macprocomputer/Desktop/_flucoma/code/flucoma-sc/test/CETperceptual_csv_0_1/CET-L16.csv").not,{ colors = CSVFileReader.readInterpret(FluidFilesPath("/color-schemes/CET-L16.csv")).collect{
"Sorry, colors file doesn't exist...... where can I put this file so it exists for everyone!!!?!?!?!?!?".warn;
});
colors = CSVFileReader.readInterpret("/Users/macprocomputer/Desktop/_flucoma/code/flucoma-sc/test/CETperceptual_csv_0_1/CET-L16.csv").collect{
arg row; arg row;
Color.fromArray(row); Color.fromArray(row);
}; };

Loading…
Cancel
Save