<commit_before># Unpredictable Gallery v0.2.0

### What it is
Ugal (Unpredictable Gallery) is the solution I have found to build a random tetris-based image gallery.
Each time Ugal is initialized, its frames are randomly dimensioned and organized.

### How to use it

#### Basics

Ugal is ridiculously easy to use.
You don't need any specific lib or special effects installed in your site/application. Just identify a container in your HTML and call ugal.init(), in your javascript, passing an object with three required attributes (container, width and height) as you can see below:

``` html
<div id='container'>
  <img src='sample-image.jpg' />
  <img src='another-sample-image.jpg' />
  ...
</div>
```

``` javascript
ugal.init({
  container: 'container',
  width: 800,
  height: 600
});
```

#### Options

##### hFrames, vFrames

You can define the number of frames to be shown on gallery using the attributes *hFrames* and *vFrames* to inform the maximum number of horizontal and vertical frames, respectively:

``` javascript
ugal.init({
  container: 'container',
  width: 800,
  height: 600,
  hFrames: 5,
  vFrames: 3
});
```

##### theme

If you were looking for a non black/grey colour based gallery, you can specify some themes. They are *Blumenau*, *Floripa*, *Joinville* and *Lages*. You can see how they look like on the [Project's Page](http://rafaelcamargo.com/pro/ugal) or accessing the project's examples folder.

``` javascript
ugal.init({
  ...
  vFrames: 3,
  theme: 'Joinville'
});
```

### Where to find it

You can see it up and running on the [Project's Page](http://rafaelcamargo.com/pro/ugal)

### Release History

- 2015/02/04 **v0.2.0** : Added the *Coloured-Only Gallery* feature (issue#6)
- 2015/02/01 **v0.1.0** : First stable development version <commit_msg>issue#12 Updated README.md according v0.2.1<commit_after># Unpredictable Gallery v0.2.1

### What it is
Ugal (Unpredictable Gallery) is the solution I have found to build a random tetris-based image gallery.
Each time Ugal is initialized, its frames are randomly dimensioned and organized.

### How to use it

#### Basics

Ugal is ridiculously easy to use.
You don't need any specific lib or special effects installed in your site/application. Just identify a container in your HTML and call ugal.init(), in your javascript, passing an object with three required attributes (container, width and height) as you can see below:

``` html
<div id='container'>
  <img src='sample-image.jpg' />
  <img src='another-sample-image.jpg' />
  ...
</div>
```

``` javascript
ugal.init({
  container: 'container',
  width: 800,
  height: 600
});
```

#### Options

##### hFrames, vFrames

You can define the number of frames to be shown on gallery using the attributes *hFrames* and *vFrames* to inform the maximum number of horizontal and vertical frames, respectively:

``` javascript
ugal.init({
  container: 'container',
  width: 800,
  height: 600,
  hFrames: 5,
  vFrames: 3
});
```

##### theme

If you were looking for a non black/grey colour based gallery, you can specify some themes. They are *Blumenau*, *Floripa*, *Joinville* and *Lages*. You can see how they look like on the [Project's Page](http://rafaelcamargo.com/pro/ugal) or accessing the project's examples folder.

``` javascript
ugal.init({
  ...
  vFrames: 3,
  theme: 'Joinville'
});
```

### Where to find it

You can see it up and running on the [Project's Page](http://rafaelcamargo.com/pro/ugal)

### Release History

- 2015/02/05 **v0.2.1** : Fixed wrong behavior of the function emptyContainer (issue#12)
- 2015/02/04 **v0.2.0** : Added the *Coloured-Only Gallery* feature (issue#6)
- 2015/02/01 **v0.1.0** : First stable development version 
{'fraction_non_alphanumeric': 0.12449365379422091, 'fraction_numerical': 0.027005130974885227, 'mean_word_length': 4.123098201936376, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '845433', 'n_tokens_mistral': 1242, 'n_tokens_neox': 1110, 'n_words': 466}