1.0.7 • Published 2 years ago

defective-pixels v1.0.7

Weekly downloads
-
License
ISC
Repository
github
Last release
2 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

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago