<commit_before>#Facade.js Box2D Plugin

##Installing Using Bower

**bower.json**

```json
{
    "name": "example",
    "dependencies": {
        "facade.js": "0.3.0-beta.4",
        "facadejs-Box2D-plugin": "neogeek/facadejs-Box2D-plugin",
        "requirejs": "2.1.14"
    },
    "private": true
}
```

```bash
$ bower install
```

##Using Plugin With [RequireJS](http://requirejs.org/)

```javascript
require.config({
    'baseUrl': 'bower_components/',
    'paths': {
        'facade': 'facade.js/facade.min',
        'facadejs-Box2D-plugin': 'facadejs-Box2D-plugin/facadejs-Box2D',
        'box2dweb': 'facadejs-Box2D-plugin/vendor/box2dweb/Box2dWeb-2.1.a.3.min'
    },
    'shim': {
        'box2dweb': {
            'exports': 'Box2D'
        }
    }
});
```
<commit_msg>Updated README.<commit_after># Facade.js Box2D Plugin

## Installing Using Bower

**bower.json**

```json
{
    "name": "example",
    "dependencies": {
        "facade.js": "0.3.0-beta.7",
        "facadejs-Box2D-plugin": "neogeek/facadejs-Box2D-plugin",
        "requirejs": "2.1.20"
    },
    "private": true
}
```

```bash
$ bower install
```

## Using Plugin With [RequireJS](http://requirejs.org/)

```javascript
require.config({
    'baseUrl': 'bower_components/',
    'paths': {
        'facade': 'facade.js/facade.min',
        'facadejs-Box2D-plugin': 'facadejs-Box2D-plugin/facadejs-Box2D',
        'box2dweb': 'facadejs-Box2D-plugin/vendor/box2dweb/Box2dWeb-2.1.a.3.min'
    },
    'shim': {
        'box2dweb': {
            'exports': 'Box2D'
        }
    }
});
```

## Example Usage

```javascript
var world = new Facade.Entity().Box2D('createWorld', { canvas: stage.canvas, gravity: [ 0, 20 ] });

var entity = new Facade({ x: 0, y: 0, width: 50, height: 50 });

entity.Box2D('createObject', world, { type: 'dynamic', rotate: true, friction: 0.5 });
```

{'fraction_non_alphanumeric': 0.20335316387236343, 'fraction_numerical': 0.0319091400757166, 'mean_word_length': 2.822314049586777, 'pattern_counts': {'":': 12, '<': 3, '<?xml version=': 0, '>': 3, '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': '2511355', 'n_tokens_mistral': 761, 'n_tokens_neox': 721, 'n_words': 116}