From 7ba70196fd05a893a851f24a07868e3a1e9a7818 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Fri, 3 Mar 2017 18:17:37 -0500 Subject: Created bot --- palette.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 palette.h (limited to 'palette.h') diff --git a/palette.h b/palette.h new file mode 100644 index 0000000..3a5cfb3 --- /dev/null +++ b/palette.h @@ -0,0 +1,30 @@ +#ifndef PALETTE_H +#define PALETTE_H + +#include +#include +#include + +class palette { +public: + + palette(std::vector foci); + + static palette randomPalette(std::mt19937& rng); + + Magick::Color getColor(double shade) const; + +private: + + static const std::vector reds; + static const std::vector oranges; + static const std::vector yellows; + static const std::vector greens; + static const std::vector blues; + static const std::vector purples; + + std::vector gradient_; + +}; + +#endif -- cgit 1.4.1