open-index/open-npm huggingface dataset:
npm package: @leodeslf/perlin-noise
Description: A Perlin Noise library for JavaScript
Author: Leonardo de S.L.F
Latest version: 1.1.2

# Perlin Noise

```txt

             _.~^~.__.~^~._
           /~^~.______.~^~/\
          /^~.________.~^/ /
         /~^~.______.~^~/ /
        /_.~^~.__.~^~._/ /
       /_ /\___________\/
      /._/ /
     /~./ /
    /^~/ /
    \__\/

```

## About

A Perlin Noise library for JavaScript.

## Features

- `perlin1D`
- `perlin2D`
- `perlin3D`
- `perlin4D`

## Install

```bash
npm i @leodeslf/perlin-noise
```

## Usage

```javascript
import { perlin1D } from '@leodeslf/perlin-noise';

console.debug(perlin1D(0.125)); // -0.10894775390625
console.debug(perlin1D(0.120)); // -0.1056811008
console.debug(perlin1D(0.115)); // -0.10229407794375
```

[Live demo here](https://leodeslf.github.io/perlin-noise/ "GitHub Pages") (1D, 2D, 3D, and 4D).

## Author

[Leonardo de S.L.F](https://github.com/leodeslf "GitHub profile").

## License

MIT License.
npm package: @leodeslf/simplex-noise
Description: A Simplex Noise library for JavaScript
Author: Leonardo de S.L.F
Latest version: 1.0.0

# Simplex Noise

```txt
       ______________
      /\            /\
     /\/\  ________/\/\
    /\/\/\/        \/\/    
    \/\/\/\_________\/
     \/\/           /\
      \/_________  /\/\
      /\         \/\/\/\
     /\/\________/\/\/\/
     \/\/          \/\/
      \/____________\/

```

## About

A Simplex Noise library for JavaScript.

## Functions

- `simplex2D`
- `simplex3D`
- `simplex4D`

## Install

```bash
npm i @leodeslf/simplex-noise
```

## Example

```javascript
import { simplex4D } from '@leodeslf/simplex-noise';

console.debug(simplex4D(0, 3, 6, 9.125)); // 0.15430952439664875
console.debug(simplex4D(0, 3, 6, 9.120)); // 0.16308260031261898
console.debug(simplex4D(0, 3, 6, 9.115)); // 0.17172544402554224
```

## Author

[Leonardo de S.L.F](https://github.com/leodeslf "GitHub profile"), original implementation by Stefan Gustavson (Java).

## License

MIT License.
npm package: @leodeslf/skeleton
Description: Inverse kinematics in JavaScript
Author: Leonardo de S.L.F
Latest version: 4.0.2

# Skeleton

Inverse kinematics in JavaScript.

## Installation

```bash
npm i @leodeslf/skeleton
```

[Live demo](https://leodeslf.github.io/skeleton/ "GitHub Pages") (1000 segments of 1px each).

## Author

Copyright (c) [Leonardo de S.L.F](https://github.com/leodeslf "GitHub profile"), 2021-present.

## License

MIT License.
npm package: @leodeslf/worley-noise
Description: A Worley Noise library for JavaScript
Author: Leonardo de S.L.F
Latest version: 1.1.2

# Worley Noise

```txt

     ____________    ____________ 
    /___________/\  / ________  /\
    \  ________ \ \/ /\______/ / /
     \ \ \     \ \ \/ /     / / /
      \ \ \     \ \ \/     / / /
       \ \ \    /\ \ \    / / /
        \ \ \  / /\ \ \  / / /
         \ \ \/ / /\ \ \/ / /
          \ \ \/ /  \ \ \/ /
           \_\__/    \_\__/

```

## About

A Worley Noise library for JavaScript.

## Feature Shape

|`Worley`
|---
|`spots: Vec2[] \| Vec3[]`
|`set dimention: '2d' \| '3d'`
|`set metric: 'euclidean' \| 'manhattan' \| 'chebyshev' \| 'minkowski'`
|`st(position: Vec2 \| Vec3, e?: number = 3): number` (1st closest)
|`nd(position: Vec2 \| Vec3, e?: number = 3): number[]` (1st and 2nd closest)

## Install

```bash
npm i @leodeslf/worley-noise
```

## Import

```javascript
import Worley from '@leodeslf/worley-noise';
```

## Usage

```javascript
const worley = new Worley(
  spots,
  '3d',       // Default '2d' (optional).
  'manhattan' // Default 'euclidean' (optional).
);

worley.st(position);
```

[Live demo here](https://leodeslf.github.io/worley-noise/ "GitHub Pages") (3d, euclidean, nd - st).

## Author

[Leonardo de S.L.F](https://github.com/leodeslf "GitHub profile").

## License

MIT License.