1.0.7 • Published 3 years ago

defective-pixels v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Defective Pixels

A script that adds dead pixels to a webpage every time it's loaded and saves them on the local storage.

  1. Install the library with: npm i defective-pixels.
  2. Import it with:
import generatepixels from "defective-pixels"
  1. Run it by specifying the number of dead pixels to add and the id of the container where to add them:
generatepixels(100, "container_id")
1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago