Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*~
#~
4 changes: 3 additions & 1 deletion docs/reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h2><a href="#">&times;</a> creation</h2>
<p>The parameters and their defaults are:</p>
<ul>
<li><em>repulsion </em><b>1,000</b> the force repelling nodes from each other</li>
<li><em>stiffness </em><b>600</b> the rigidity of the edges </li>
<li><em>stiffness </em><b>600</b> the rigidity of the edges (reduce to prevent shaking)</li>
<li><em>friction </em><b>0.5</b> the amount of damping in the system </li>
<li><em>gravity </em><b>false</b> an additional force attracting nodes to the origin </li>
<li><em>fps </em><b>55</b> frames per second </li>
Expand Down Expand Up @@ -572,6 +572,8 @@ <h2>vector math</h2>
<dd>Returns the point’s vector normal.</dd>
<dt>normalize<em>( ) &rarr; Point</em></dt>
<dd>Returns a scaled copy of the point with a magnitude of one.</dd>
<dt>radian<em>(pt) &rarr; Number</em></dt>
<dd>Returns the angle in radians to the given point.</dd>
</dl>
<h2>sanity checking</h2>
<dl>
Expand Down
51 changes: 51 additions & 0 deletions lib/arbor-graphics.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading