# swingingleaf1animation

> This is a simple JavaScript program that generates a swinging leaf animation in the console.

Latest version **1.1.0** (published 2024-03-16) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install swingingleaf1animation
pnpm add swingingleaf1animation
yarn add swingingleaf1animation
bun add swingingleaf1animation
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2024-03-16 |
| First published | 2024-03-03 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Atlasontop69 |
| Maintainers | atlasontop69 |
| Keywords | sample, npm, package, tea, leaf, animation, nature, console, fun |

## Links

- npm: https://www.npmjs.com/package/swingingleaf1animation
- Repository: https://github.com/Atlasontop69/SwingingLeafAnimation
- Homepage: https://github.com/Atlasontop69/SwingingLeafAnimation#readme
- Issues: https://github.com/Atlasontop69/SwingingLeafAnimation/issues
- npm.io page: https://npm.io/package/swingingleaf1animation

## Dependencies (8)

- [axios](https://npm.io/package/axios.md) ^0.21.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [tea-cup](https://npm.io/package/tea-cup.md) ^2.1.0
- [tea-tree](https://npm.io/package/tea-tree.md) ^1.2.0
- [tea-party](https://npm.io/package/tea-party.md) ^4.0.1
- [tea-utils](https://npm.io/package/tea-utils.md) ^1.0.0
- [tea-leaves](https://npm.io/package/tea-leaves.md) ^3.5.2
- [tea-animations](https://npm.io/package/tea-animations.md) ^2.3.1

## Alternatives

- [persona-harness](https://npm.io/package/persona-harness.md) — 4.7K weekly downloads
- [@tsparticles/effect-bubble](https://npm.io/package/@tsparticles/effect-bubble.md) — 4.6K weekly downloads
- [f3d](https://npm.io/package/f3d.md) — 730 weekly downloads
- [spark-html-motion](https://npm.io/package/spark-html-motion.md) — 298 weekly downloads
- [cra-template-particles-typescript](https://npm.io/package/cra-template-particles-typescript.md) — 227 weekly downloads

## Recent versions

- 1.1.0 (latest) — 2024-03-16
- 1.0.0 — 2024-03-03

## README

# Swinging Leaf Animation

This is a simple JavaScript program that generates a swinging leaf animation in the console.

## Usage

Just run the `index.js` file using Node.js to see the swinging leaf animation in your console.

```bash
node index.js

## Description
The program generates a leaf emoji 🍃 and makes it swing from side to side within a certain range of motion. It creates a random offset for each swing, providing a natural and organic movement to the leaf. The animation continuously loops with a specified speed.

## Customization
You can customize the animation by adjusting the following parameters in the index.js file:

maxOffset: Maximum offset the leaf can swing from its central position.
swaySpeed: Speed of the swinging animation in milliseconds.
Feel free to modify the code and experiment with different parameters to achieve your desired animation effects!

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