defective-pixels

1.0.7 • Public • Published

Screenshot 2023-03-10 at 18 02 46

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")

Readme

Keywords

Package Sidebar

Install

npm i defective-pixels

Weekly Downloads

2

Version

1.0.7

License

ISC

Unpacked Size

2.27 kB

Total Files

3

Last publish

Collaborators

  • sinanatra