making a color bar - is this best way? seems clunky


    Apr 09 2010 | 9:10 pm
    I'm trying to display a stripe with all possible hue values, and have come up with the patch below. It works, but it seems clunky. Is there a better way?

    • Apr 09 2010 | 10:28 pm
      mmmm.... purty :)
      here's another way with a few less objects:
    • Apr 09 2010 | 10:28 pm
      jit.expr.
      remember, jit.expr works with floating point internally, and converts back to char on output.
    • Apr 09 2010 | 10:35 pm
      rockin.