Skip to content

whitenoise

ArcadeTV edited this page May 17, 2021 · 3 revisions

white noise example


In this example I want to show how to create a very natural VHS-style white noise effect.

  • I created a 5x5 tiles wide image in PhotoShop and added some noise to it. I used ImaGenesis to create the tiledata and palette.
  • In HxD I generated a random byte sequence of 2048 bytes (same size as words in a plane map) that contains values from #0 ($00) to #24 ($18).
  • I used the random byte sequence to draw tiles across plane B.
  • In the main loop I switch the colors in palette slot #1 (3 different palettes in total, one after another replacing the colors in the palette)
  • To create a seemless and natural effect I scroll plane B by a value that is not a multiple of tile size.
Clone this wiki locally