<commit_before>Beauty of Roots
===============

This script generates a fractal from polynomial roots . First time when i saw this image i wanted to print it on canvas ant put it in our office , but printing an image that i found on the internet would not be so much fun right ? so i wrote my own implementation , it looks really cool on our wall . 

__Example__: This is a plot of all roots with coefficents of [1 or -1] and degree of 24 .

![roots](http://alexander-0x80.github.io/data/roots.png)

### How to use :
* Run `roots.py` to generate NumPy array file with a hit map that should be used to draw the PNG .
* Run `plot.py` to create PNG file from the hit map .

#### Example:
Generate hit map for polynomials with degree of 24 inside 512x512 array : 
>`python roots.py 24 512`

This will create `pointmap.npy` file in your working directory . You should use it to produce a color image of the hits .
> `python plot.py pointmap.npy my_image.png`


### More info 
http://mathworld.wolfram.com/PolynomialRoots.html<commit_msg>Markdown fixes<commit_after>Beauty of Roots
===============

This script generates a fractal from polynomial roots . First time when i saw this image i wanted to print it on canvas ant put it in our office , but printing an image that i found on the internet would not be so much fun right ? so i wrote my own implementation , it looks really cool on our wall . 

__Example__: This is a plot of all roots with coefficents of [1 or -1] and degree of 24 .

![roots](http://alexander-0x80.github.io/data/roots.png)

### How to use :
* _roots.py_ - Generates NumPy array file with a hit map that should be used to draw the PNG .
* _plot.py_ - Creates PNG file from the hit map .

#### Example:
Generate hit map for polynomials with degree of 24 inside 512x512 array : 
>`python roots.py 24 512`

This will create _pointmap.npy_ file in your working directory . You should use it to produce a color image of the hits .
> `python plot.py pointmap.npy my_image.png`


### More info 
http://mathworld.wolfram.com/PolynomialRoots.html
{'fraction_non_alphanumeric': 0.08264462809917356, 'fraction_numerical': 0.019445794846864366, 'mean_word_length': 3.763888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '2159907', 'n_tokens_mistral': 639, 'n_tokens_neox': 585, 'n_words': 310}