【jQuery】小さな点模様エフェクトjQueryライブラリdots.js

jQuery

dots

March 18, 2017

dots.jsは小さな点模様エフェクトjQueryライブラリ。

Basic usage

$(function() {
    $('#canvas').dots();
});

Settings

$(function() {
    $('#canvas').dots({
        color: '#ff0000'
    });
});

Default settings

{
    color: "#fff",
    backgroundColor: "#2c3e50",
    pointOpacity: 0.5,
    lineOpacity: 0.2,
    mouseLineOpacity: 1,
    speed: 50,
    size: 2,
    lineDistance: 200,
    maxPoints: 50,
    mouseSpawnNumber: 3
}

Latest Posts

Related Posts