Skip to content

bit101/truchet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

truchet

A Go program to generate Truchet patterned images from existing pngs.

Usage: truch -i inputFile [-o outputFile] [-p pattern] [-t tileSize]

OutputFile defaults to "out.png"

TileSize defaults to 10

Pattern defaults to "a"

Valid patterns: a, b, c, d, e, f, g, h, i, l, m, n, o, p, q, r, s, t, u, v, x, y, z, 0

Examples (click on image to see full size): patterns

Idea from the book Opt Art by Robert Bosch.

Tile patterns from The Tiling Patterns of Sebastien Truchet and the Topology of Structural Hierarchy by Cyril Stanley Smith and Pauline Boucher.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages