Skip to content

A little noise generation tool that i made during an English class, it generates surprisingly stunning rock texture maps and can be layered on top of eachother for exotic results.

License

Notifications You must be signed in to change notification settings

fshfngr/noiseTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

noiseTest

Description

A little noise generation tool that i made during an English class, make surprisingly stunning rock texture maps and can be layered on top of eachother for exotic results.

Requirements

Python 3.8.2 is the earliest version the script has been tested to work on, might work with older versions. Pillow for Python, install at: Pillow Installation Page

Use

Basically what the program does is it takes 3 input parameters that are all integers: resolution represents the length and width of the final image, density a parameter from which the program randomizes out white dots onto a black image, the higher the value the sparser and fewer the "noise cells" will be, intensity the times the program loops through the image and smudges the white spots, the higher the value the darker and more smudged the final image will look. Some parameters have a more drastic impact than others, play around with them to see what yields the best result for you!

Functionality

The program starts by creating an completely black, square image based on the resolution parameter. Then it places white pixels on the image randomly based on the density parameter. Finally it loops through the entire image and averages out every pixel based on the 8 pixels in a grid around it, it uses some logic trickery so that the picture doesn't go completely dark immediately, nothing complicated tho. The number of times it smudges the image depends on the intensity parameter.

A more in depth look at how the program works can obviously be found in the code, if you have any questions feel free to contact me!

About

A little noise generation tool that i made during an English class, it generates surprisingly stunning rock texture maps and can be layered on top of eachother for exotic results.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages