Glimmr Drawing Commands

version 2/101030 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - RGB specified as a percentage

    To decide which number is r%/R% --/= (R - a number) g%/G% --/= (G - a number) b%/B% --/= (B - a number):
        unless R < 0 or R > 100 or G < 0 or G > 100 or B < 0 or B > 100:
            let R be R real times 2.5500 as an integer;
            let G be G real times 2.5500 as an integer;
            let B be B real times 2.5500 as an integer;
            decide on (R * 65536) + (G * 256) + B;
        decide on 0;