def make_rawnoise(self, create_revealer=False):
    if (not self.user_input):
        self.versioned_seed = self.gen_random_versioned_seed()
    assert self.versioned_seed
    (w, h) = self.SIZE
    rawnoise = QImage(w, h, QImage.Format_Mono)
    noise_map = self.get_noise_map(self.versioned_seed)
    for ((x, y), pixel) in noise_map.items():
        rawnoise.setPixel(x, y, pixel)
    self.rawnoise = rawnoise
    if create_revealer:
        self.make_revealer()
def make_rawnoise(self, create_revealer=False):
    if (not self.user_input):
        self.versioned_seed = self.gen_random_versioned_seed()
    assert self.versioned_seed
    (w, h) = self.SIZE
    rawnoise = QImage(w, h, QImage.Format_Mono)
    noise_map = self.get_noise_map(self.versioned_seed)
    for ((x, y), pixel) in noise_map.items():
        rawnoise.setPixel(x, y, pixel)
    self.rawnoise = rawnoise
    if create_revealer:
        self.make_revealer()