Skip to content
Browse files

adding image

  • Loading branch information...
1 parent cab3351 commit 4ac7bd831558a97cbd4824a5b03dbede15a439dc @kgn committed
Showing with 2 additions and 0 deletions.
  1. BIN KGNoise.jpg
  2. +2 −0 readme.md
View
BIN KGNoise.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2 readme.md
@@ -1,3 +1,5 @@
+![](https://raw.github.com/kgn/KGNoise/master/KGNoise.jpg)
+
I've been developing this noise drawing code for quite some time. It all started with drawing noise in the title bar of [INAppStoreWindow](https://github.com/indragiek/INAppStoreWindow). The original implementation of the noise drawing for the titlebar used `CIFilter`, but this took up an unusual amount of memory and also didn't looks so great. So I began my quest for the best noise drawing solution, this project contains the third version which I feel is finally ready for prime time on the Mac and iOS!
KGNoise generates random black and white pixels into a static 128x128 image that is then tiled to fill the space. The random pixels are seeded with a value that has been chosen to look the most random, this also means that the noise will look consistent between app launches.

0 comments on commit 4ac7bd8

Please sign in to comment.
Something went wrong with that request. Please try again.