<commit_before>#Molgif

Molgif is an easy-to-use tool for creating
[GIF](https://en.wikipedia.org/wiki/GIF) animations of molecules. Thanks to the
widespread support of [GIF](https://en.wikipedia.org/wiki/GIF) file format,
animations can be easily embedded into presentations, websites, wikipedia, and
so forth.

![caffeine](caffeine.gif)
![fullerene](fullerene.gif)
![benzene](benzene.gif)

###Installation

Molgif works on Linux, BSD, OSX, Windows operating systems. Molgif requires
[Go](https://golang.org) version 1.6 or later. To compile, change into the
directory with molgif source code and type:

    go build

Molgif has no external dependencies and uses only [Go](https://golang.org)
standard library. Animation rendering is performed using ray-tracing. Rendering
is done in parallel using multiple CPUs available on the system.

###Usage examples

To see the list of available command line flags with documentation, type:

    molgif -help

Below is a list of sample animations along with the molgif command used to
create them.

######Caffeine molecule

`molgif caffeine.xyz`

![caffeine](caffeine.gif)

######Benzene molecule

`molgif -X -t 3 -a 0.2 benzene.xyz`

![benzene](benzene.gif)

######Carbon nanotube

`molgif -w 500 -t 5 nanotube.xyz`

![nanotube](nanotube.gif)

######Water molecule

`molgif -r 200 -g 200 water.xyz`

![water](water.gif)

######TNT molecule

`molgif -r 220 -g 220 tnt.xyz`

![tnt](tnt.gif)

######Fullerene molecule

`molgif -Y -t 8 -g 100 -b 100 -a 0.3 fullerene.xyz`

![fullerene](fullerene.gif)

######Cluster of 8 water molecules

`molgif -l cluster.xyz`

![cluster](cluster.gif)

######Adenine nucleobase

`molgif -t 8 adenine.xyz`

![adenine](adenine.gif)
<commit_msg>Tested with Go 1.5<commit_after>#Molgif

Molgif is an easy-to-use tool for creating
[GIF](https://en.wikipedia.org/wiki/GIF) animations of molecules. Thanks to the
widespread support of [GIF](https://en.wikipedia.org/wiki/GIF) file format,
animations can be easily embedded into presentations, websites, wikipedia, and
so forth.

![caffeine](caffeine.gif)
![fullerene](fullerene.gif)
![benzene](benzene.gif)

###Installation

Molgif works on Linux, BSD, OSX, Windows operating systems. Molgif requires
[Go](https://golang.org) version 1.5 or later. To compile, change into the
directory with molgif source code and type:

    go build

Molgif has no external dependencies and uses only [Go](https://golang.org)
standard library. Animation rendering is performed using ray-tracing. Rendering
is done in parallel using multiple CPUs available on the system.

###Usage examples

To see the list of available command line flags with documentation, type:

    molgif -help

Below is a list of sample animations along with the molgif command used to
create them.

######Caffeine molecule

`molgif caffeine.xyz`

![caffeine](caffeine.gif)

######Benzene molecule

`molgif -X -t 3 -a 0.2 benzene.xyz`

![benzene](benzene.gif)

######Carbon nanotube

`molgif -w 500 -t 5 nanotube.xyz`

![nanotube](nanotube.gif)

######Water molecule

`molgif -r 200 -g 200 water.xyz`

![water](water.gif)

######TNT molecule

`molgif -r 220 -g 220 tnt.xyz`

![tnt](tnt.gif)

######Fullerene molecule

`molgif -Y -t 8 -g 100 -b 100 -a 0.3 fullerene.xyz`

![fullerene](fullerene.gif)

######Cluster of 8 water molecules

`molgif -l cluster.xyz`

![cluster](cluster.gif)

######Adenine nucleobase

`molgif -t 8 adenine.xyz`

![adenine](adenine.gif)

{'fraction_non_alphanumeric': 0.13296479487925517, 'fraction_numerical': 0.019202793133546697, 'mean_word_length': 4.5008, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '435704', 'n_tokens_mistral': 1312, 'n_tokens_neox': 1142, 'n_words': 403}