Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 560 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 560 Bytes

Pretty Colors

Generate some decent looking colors without repeating similar colors.

Concept

The idea for this code is based on something I saw in this VI Hart video. Basically generate the next color by adding the golden angle to the HSV value of the previous color which creates colors with minimal overlap of the hue.

Output

Colors generated by generate_color(i) from 0 to 23

colors in order generated

Colors returned by generate_colors(24)

colors sorted