<commit_before># Getting started with p5.SVG

This page will help you setting up a p5.js project with p5.SVG and making your first sketch.

## [TODO] Download and File setup

### AMD and Browserify

If you are using AMD, then you can:

```javascript
define(function(require) {
    require('p5.svg');
    // your code here
});
```

If you are using browserify, then you can:

```bash
npm install p5.js-svg --save
```

```javascript
var p5 = require('./p5.js');
require('p5.js-svg')(p5);
```

## [TODO] Your First Sketch

## What's Next?

- Check out the [examples](./examples)

- View the [API Reference](./doc/reference.md) for full documentation.<commit_msg>Download and File Setup section for Getting Started<commit_after># Getting started with p5.SVG

This page will help you setting up a p5.js project with p5.SVG and making your first sketch.

## Download and File Setup

p5.SVG@0.4. requires p5.js@0.4.7 with [patch#850](https://github.com/processing/p5.js/pull/850).
You can download it here:

https://github.com/zenozeng/p5.js-svg/blob/a18ee413ce15ca6df3dbd3758f40a16606853572/test/bower_components/p5.js/p5.js

And p5.SVG@0.4 can be downloaded here:

https://github.com/zenozeng/p5.js-svg/releases

Then you can simple put them in your \<head\>.

```html
<script src="./path-to/p5.js"></script>
<script src="./path-to/p5.svg.js"></script>
```

### AMD and Browserify

If you are using AMD, then you can:

```javascript
define(function(require) {
    require('p5.svg');
    // your code here
});
```

If you are using browserify, then you can:

```bash
npm install p5.js-svg --save
```

```javascript
var p5 = require('./p5.js');
require('p5.js-svg')(p5);
```

## [TODO] Your First Sketch

## What's Next?

- Check out the [examples](../examples)

- View the [API Reference](./reference.md) for full documentation.
{'fraction_non_alphanumeric': 0.1575192096597146, 'fraction_numerical': 0.03677277716794731, 'mean_word_length': 3.874331550802139, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '199216', 'n_tokens_mistral': 689, 'n_tokens_neox': 641, 'n_words': 195}