Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 726 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 726 Bytes

Wang Tiles

Wang tiles were first proposed by mathematician, Hao Wang in 1961. A set of square tiles, with each tile edge of a fixed color, are arranged side by side in a rectangular grid. All four edges of each tile must 'match' (have the same color as) their adjoining neighbor.

See

Output image

output

Quick Start

Install rust and run

$ cargo run

It generates a ppm image file which can be opened with feh or any other image viewer that supports ppm