color visualization

colorwheel(sX, sY, rad, sat, lum);

colorsquare (sX, sY, w, h, str, end);

  • //colorsquare (0, 0, 960, 960, 0, 120); //red-green
  • //colorsquare (0, 0, 960, 960, 120, 240); //green-blue
  • //colorsquare (0, 0, 960, 960, 240, 360); //blue-red
  • //colorsquare (0, 0, 960, 960, 0, 360); //all
hues 0°-360° in 5° increments
hues 0°-360° in 10° increments

———————————————————————

  • //colorsquare (0, 0, 960, 960, 0, 60);
  • //colorsquare (0, 0, 960, 960, 60, 120);
  • //colorsquare (0, 0, 960, 960, 120, 180);
  • //colorsquare (0, 0, 960, 960, 180, 240);
  • //colorsquare (0, 0, 960, 960, 240, 300);
  • //colorsquare (0, 0, 960, 960, 300, 360);