Skip to content

A utility to generate images that contain every color. The results are often quite pretty!

Notifications You must be signed in to change notification settings

JosephKrusling/Rainbow-Painter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RainbowManip

Inspried by this post on stack overflow, RainbowManip is a Java utility to generate images that contain every color. The results are often quite pretty. The strategy is simple. Add several points to the open list. Every iteration, choose one of the random colors and find the point on the open list whose neighbors match most closely with that color. Place the color in that point, remove the point from the list, and add all of its unvisited neighbors to the list. Repeat until all points are filled. The images below are generated by some variation on the rules, such as having multiple start points or filtering which points on the open list are considered.

The Process

Prettiest Results

About

A utility to generate images that contain every color. The results are often quite pretty!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages