Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jjppof/graph_background

A nice canvas background based on graphs.
https://github.com/jjppof/graph_background

background html5-canvas

Last synced: 29 days ago
JSON representation

A nice canvas background based on graphs.

Awesome Lists containing this project

README

        

# Canvas HTML5 Graph Background

### Instructions

Import the script, set a canvas and call:

```javascript
graph_background("your_canvas_id", options_js_object)
```

### Bower

```
bower install graph_background
```

### Options

* **dot_number** : number of dots on screen (default: 800),
* **connections_number** : number of connections per dot (default: 5),
* **max_opacity** : max elements opacity (default: 0.5),
* **max_dot_radius** : max dot radius (default: 5),
* **discovered_area_radius** : mouse discovered area radius (default: 150),
* **dot_delay_factor** : dot movement delay factor (default: 1.5),
* **line_color** : connections color (default: black),
* **dot_color** : dot color (default: black)

#### [DEMO](https://jjppof.github.io/graph_background/)