<commit_before># Patchwork quilt patterns generator

This is a tool that generates patchwork quilt pattern out of given square samples. 

<p align="center" ><img src="https://user-images.githubusercontent.com/1705072/27860688-e5ccdb04-617d-11e7-9778-bec33440710d.png" alt="Patchwork"></p>

## How is it built

The application ties together concepts of:
1. *Sample provider*. That is the data source for At this moment the sample can be imported from PNG file.
2. *Pattern composer*. It composes a pattern out of available samples. Right now it can combine random samples in a way that no similar samples stay aside horizontally or vertically.
3. *Result renderer*. It exports the result in particular format. Right now it can export to PNG.

## TODO

* Sample provider that generates sample of given color.
* Composer that generates tetris board filled with respective figures.
* Composer that generates patchwork representation out of provided image.
<commit_msg>Add fancy buttons to Readme<commit_after># Patchwork quilt patterns generator

This is a tool that generates patchwork quilt pattern out of given square samples. 

[![Build Status](https://travis-ci.org/borodiychuk/patchwork.svg?branch=master)](https://travis-ci.org/borodiychuk/patchwork) [![Go Report Card](https://goreportcard.com/badge/github.com/borodiychuk/patchwork)](https://goreportcard.com/report/github.com/borodiychuk/patchwork)

<p align="center" ><img src="https://user-images.githubusercontent.com/1705072/27860688-e5ccdb04-617d-11e7-9778-bec33440710d.png" alt="Patchwork"></p>

## How is it built

The application ties together concepts of:
1. *Sample provider*. That is the data source for At this moment the sample can be imported from PNG file.
2. *Pattern composer*. It composes a pattern out of available samples. Right now it can combine random samples in a way that no similar samples stay aside horizontally or vertically.
3. *Result renderer*. It exports the result in particular format. Right now it can export to PNG.

## TODO

* Sample provider that generates sample of given color.
* Composer that generates tetris board filled with respective figures.
* Composer that generates patchwork representation out of provided image.

{'fraction_non_alphanumeric': 0.08063063063063063, 'fraction_numerical': 0.03513513513513514, 'mean_word_length': 4.875661375661376, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1708898', 'n_tokens_mistral': 654, 'n_tokens_neox': 593, 'n_words': 265}