diff options
Diffstat (limited to 'js/color.js')
| -rw-r--r-- | js/color.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/color.js b/js/color.js index 23fb13f..0ba29e7 100644 --- a/js/color.js +++ b/js/color.js @@ -33,6 +33,7 @@ function all_hue (n) { return colors[all_color_hue_order[mod(n, 16)|0]] } function all_inv_hue (n) { return colors[all_color_inv_order[mod(n, 16)|0]] } function hue (n) { return colors[color_hue_order[mod(n, 11)|0]] } function rand_hue () { return colors[color_hue_order[randint(11)]] } +function rand_gray () { return colors[gray_names[randint(4)]] } function inv_hue (n) { return colors[color_inv_order[mod(n, 11)|0]] } function gray (n) { return colors[gray_names[mod(n, 4)|0]] } function fire (n) { return colors[fire_names[mod(n, 7)|0]] } |
