From 28f6a39d77a3041125a7b7b1db735d74c2ca608d Mon Sep 17 00:00:00 2001 From: mattmcw Date: Sun, 25 Jul 2021 17:53:26 -0400 Subject: [PATCH] Add changes.inc with color setting stored in an array and the appropriate number of colors psuedo randomized --- .gitignore | 3 +- bounce.pov | 4 +- changes.inc | 927 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 932 insertions(+), 2 deletions(-) create mode 100644 changes.inc diff --git a/.gitignore b/.gitignore index c74dcbf..256ff1b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.png -*.mkv \ No newline at end of file +*.mkv +*.DS_Store \ No newline at end of file diff --git a/bounce.pov b/bounce.pov index c40f9a7..d0cd36e 100644 --- a/bounce.pov +++ b/bounce.pov @@ -6,6 +6,7 @@ #include "./materials.inc" #include "./dvdlogo.inc" #include "./path.inc" +#include "./changes.inc" #declare TOTAL_FRAMES = 900.0; @@ -19,7 +20,8 @@ #declare CAM_Z = -200; #declare FRAME = floor(clock * TOTAL_FRAMES); -#declare color1 = <37, 255, 1>; +#declare colorChoice = Changes[FRAME][0]; +#declare color1 = ; #declare plastic = texture{ diff --git a/changes.inc b/changes.inc new file mode 100644 index 0000000..389618d --- /dev/null +++ b/changes.inc @@ -0,0 +1,927 @@ +#declare LogoColors = array[20][3]{ + {190, 0, 255}, + {0, 254, 255}, + {255, 131, 0}, + {0, 38, 255}, + {255, 250, 1}, + {255, 38, 0}, + {255, 0, 139}, + {37, 255, 1}, + {0, 38, 255}, + {255, 0, 139}, + {0, 254, 255}, + {255, 38, 0}, + {255, 131, 0}, + {190, 0, 255}, + {37, 255, 1}, + {255, 0, 139}, + {255, 38, 0}, + {0, 254, 255}, + {255, 131, 0}, + {190, 0, 255}, +} + +#declare Changes = + array[900][1] + { +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{0}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{1}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{2}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{3}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{4}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{5}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{6}, +{7}, +{7}, +{7}, +{7}, +{7}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{8}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{9}, +{10}, +{10}, +{10}, +{10}, +{10}, +{10}, +{10}, +{10}, +{10}, +{10}, +{10}, +{10}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{11}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{12}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{13}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{14}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{15}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{16}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{17}, +{18}, +{18}, +{18}, +{18}, +{18}, +{18}, +{18}, +{18}, +{18}, +{18}, +{18}, +{18}, +{18}, +{18}, +{19}, +{19}, +{19}, +{19}, +{19}, +{19} + } \ No newline at end of file