Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

Random Walk Wallpaper Generator

Generate hazy fractal-like wallpaper images by simulating random walks in different colors.

The intensity of a pixel corresponds to the number of times it is visited during each random walk. See Wikipedia for more info on random walks.

Usage

javac RgbRandomWalk.java
java RgbRandomWalk <imagefilepath> <width> <height> <steps>

The <imagefilepath> parameter is the filename of the PNG image to output. Output is in PNG format regardless of specified extension. This can be changed in source file. Note: will overwrite any existing file. Use caution.

width and height specify the size of image.

steps specifies the number of steps to take for each random walk.

The number of random walks and corresponding colors can be changed by editing the RgbRandomWalk.java file.

Example output

Example 1

Width: 600, height: 400, steps: 500000

Example 2

Width: 600, height: 400, steps: 1000000

Example 3

Width: 1920, height: 1080, steps: 6000000

About

Generate hazy fractal-like wallpaper images by simulating random walks in different colors.

Topics

Resources

Releases

No releases published

Languages

You can’t perform that action at this time.