# color-array-animation

> Simple library for creation of color array animations.

Latest version **0.1.19** (published 2022-12-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install color-array-animation
pnpm add color-array-animation
yarn add color-array-animation
bun add color-array-animation
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.19 |
| Published | 2022-12-16 |
| First published | 2022-12-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 53.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Patrik Pancisin |
| Maintainers | pancisin |

## Links

- npm: https://www.npmjs.com/package/color-array-animation
- Repository: https://github.com/pancisin/color-array-animation
- Homepage: https://github.com/pancisin/color-array-animation#readme
- Issues: https://github.com/pancisin/color-array-animation/issues
- npm.io page: https://npm.io/package/color-array-animation

## Dependencies (4)

- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [chroma-js](https://npm.io/package/chroma-js.md) ^2.4.2
- [@types/lodash](https://npm.io/package/@types/lodash.md) ^4.14.191
- [@types/chroma-js](https://npm.io/package/@types/chroma-js.md) ^2.1.4

## Recent versions

- 0.1.19 (latest) — 2022-12-16
- 0.1.18 — 2022-12-16
- 0.1.17 — 2022-12-16
- 0.1.16 — 2022-12-16
- 0.1.15 — 2022-12-16
- 0.1.14 — 2022-12-16
- 0.1.13 — 2022-12-16
- 0.1.12 — 2022-12-16
- 0.1.11 — 2022-12-16
- 0.1.10 — 2022-12-16
- 0.1.9 — 2022-12-16
- 0.1.8 — 2022-12-16
- 0.1.7 — 2022-12-16
- 0.1.6 — 2022-12-16
- 0.1.5 — 2022-12-16
- … 5 more at https://npm.io/package/color-array-animation/versions

## README

# Color Array Animation

## Getting Started

Install from npm

```
npm install color-array-animation
```

Import animation factory into the project

```javascript
import animationFactory from "color-array-animation";
```

Build animation generator

```javascript
const accentColor = "#f00";
const baseColor = "#000";

const animation = animationFactory
  .get("scanner")
  .initialize([accentColor, baseColor], 20, 1);

animation.start((colorsArray) => /* Use generated color array. */);
```

## Animation Library

```
scanner
bubbles
traveller
```

## Api

---
_Source: https://npm.io/package/color-array-animation · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
