Skip to content

jjppof/graph_background

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Canvas HTML5 Graph Background

Instructions

Import the script, set a canvas and call:

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)