color.js
/**
 * Renders a fancy coloration across different interpeter turns.
 * @param {Number} w
 * @param {Number} h
 * @param {Number} channelbits
 */
Renders a fancy coloration across different interpeter turns.
Renders a fancy coloration across different interpeter turns .
function Painter(w, h, channelbits) {
    this.w = w;
    this.h = h;
    this.pixels = new Set();
    this.edges = new Set();
    this.colors = colors(channelbits).shuffle();
    this.count = 0;
    this.seed(w / 4 * 1, h / 4 * 1);
    this.seed(w / 4 * 3, h / 4 * 1);
    this.seed(w / 4 * 1, h / 4 * 3);
    this.seed(w / 4 * 3, h / 4 * 3);
}
function Painter ( w , h , channelbits ) { this . w = w ; this . h = h ; this . pixels = new Set ( ) ; this . edges = new Set ( ) ; this . colors = colors ( channelbits ) . shuffle ( ) ; this . count = 0 ; this . seed ( w / 4 * 1 , h / 4 * 1 ) ; this . seed ( w / 4 * 3 , h / 4 * 1 ) ; this . seed ( w / 4 * 1 , h / 4 * 3 ) ; this . seed ( w / 4 * 3 , h / 4 * 3 ) ; }
Renders a fancy coloration across different interpeter turns.
Renders a fancy coloration across different interpeter turns .