Skip to content
a simple loading animation using canvas
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
History.md
Makefile
Readme.md
component.json
example.html
index.js

Readme.md

canvas_loading_animation

a canvas loading animation component

Installation

$ component install bmcmahen/canvas-loading-animation

API

   var spinner = require(bmcmahen-canvas-loading-animation);
   var loading = spinner({
      color: '130, 170, 60',
      width: 100,
      height: 100, 
      number: 12,
      radius: 10,
      dotRadius: 2
   });

   var wrapper = document.getElementById('myspinner');
   wrapper.appendChild(loading.canvas);

License

MIT

Something went wrong with that request. Please try again.