use palettes, slower dim for random, flicker WIP