0.0.20 • Published 1 year ago

scatter-letters v0.0.20

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

🔠 Scatter Letters

The text is scattered when the mouse passes over it.

No PeerDependency! High performance!

🎥 Youtube Demo : https://www.youtube.com/watch?v=eVliGZLmwks&feature=youtu.be

This project was created with inspiration from watching Interactive Developer Kim Jong-min's YouTube.

Usage

new ScatterLetters(strs[,options])

example

window.onload = () => {
  new ScatterLetters("AIC DB GFJ", {
    sparkLevel: 11,
    comebackSpeed: 1,
    mouseThickness: 15,
    color: "#30e080",
    flyingDotColor: "#e81831",
    blankWidth: 17,
    letterSpacing: 4,
    fontSize: 16,
    top: 310,
    left: 160,
  });
};

Strings can contain up to 30 characters. (Alphabet and space only, converted to upper case)

All options are not required.

Keydiscriptiondefault
sparkLevelIntensity of the spark that spreads when the mouse passes6
comebackSpeedSpeed at which points return4
mouseThicknessExtent to which a point is affected when the mouse passes over it12
colorColor of immobile dots"#000000"
flyingDotColorColor of the scattered dots. It changes slightly to the basic color."#00FF00"
blankWidthBlank Width10
letterSpacingLetter Spacing3
fontSizeFont Size20
topMargin Top0
leftMargin Left0
0.0.20

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago