Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jjppof/graph_background
- Owner: jjppof
- License: mit
- Created: 2016-06-17T19:35:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-11T18:39:38.000Z (almost 8 years ago)
- Last Synced: 2024-12-04T20:03:25.817Z (about 2 months ago)
- Topics: background, html5-canvas
- Language: JavaScript
- Homepage: https://jjppof.github.io/graph_background/
- Size: 9.77 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/)