diff options
Diffstat (limited to 'generate.c')
-rw-r--r-- | generate.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -11,6 +11,7 @@ #include "generate.h" #include "color.h" +#include "hilbert.h" #include "util.h" #include <stdlib.h> @@ -38,6 +39,10 @@ generate_colors(const options_t *options) } break; + case MODE_HILBERT: + hilbert_point(3, grb_bits, n, grb); + break; + default: for (unsigned int j = 0; j < 3; ++j) { grb[j] = n & ((1 << grb_bits[j]) - 1); |