matthst / truchet

Multi-scale Truchet tile pattern generator, written for Software Development with C#/921CSPTST1K13/2020S

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Truchet

Multi-scale Truchet tile pattern generator, based on a paper by Christopher Carlson.

christophercarlson.com MULTI-SCALE TRUCHET PATTERNS
Bridges 2018 paper: Multi-Scale Truchet Patterns

Written for Software Development with C#/921CSPTST1K13/2020S

Help

Standard functionality via CLI.

Syntax: truchet.exe [-h] [-d] [-r] [-p] [-b]
                    [--Palette id] [-l count] [-s seed]
                    [-rc count] [-cc count] [-ts size]

Options:
   -h              Displays this help screen.
   -d              Generates additional debug images. (default: off)
   -r              Sets generating method to random. (default: off)
   -p              Sets generating method to perlin noise.(default: on)
   -b              Turns on border cropping. (default: off)
   --Palette id    Specifies a palette. (default: Monochrome)
   -l count        Specifies the number of subdivision levels. (default: 3)
   -s seed         Specifies a seed. (default: random seed)
   -rc count       Specifies the amount of rows. (default: 10)
   -cc count       Specifies the amount of columns. (default: 10)
   -ts size        Specifies the tile size. (default: 300)

The following palettes are available:
   0: Monochrome
   1: Sapphire
   2: Imperial
   3: Deep
   4: Apricot
   5: Xiketic
   6: Canary
   7: Meadow

Sample Images

sample1 sample2 sample3

Features

  • basic functionality
  • perlin noise
  • color schemes
  • command line arguments

About

Multi-scale Truchet tile pattern generator, written for Software Development with C#/921CSPTST1K13/2020S

License:MIT License


Languages

Language:C# 100.0%