0.1.15 • Published 3 months ago

natlib v0.1.15

Weekly downloads
6
License
MIT
Repository
github
Last release
3 months ago

natlib

Natural Motion Library for Game Development

Motivation

I love the idea of having a lightweight, highly modular foundation for small games.

The development of natlib is guided by the following principles:

  • Make a library, not a framework.
  • Find the right balance between size, performance and readability.
  • Prefer loose coupling to prevent the Banana Monkey Jungle problem.

Codemap

.
├── examples
└── typescript
    ├── Vec2.ts                     # 2D vector class
    ├── Vec3.ts                     # 3D vector class
    ├── collision
    │   └── sat.ts                  # SAT collision detection and resolution
    ├── interpolation.ts            # Interpolation functions
    ├── noise
    │   └── PerlinNoise.ts          # Perlin noise class
    ├── prng
    │   ├── Mulberry32.ts           # Mulberry32 PRNG class
    │   └── sampling.ts             # Pseudorandom sampling functions
    └── verlet                      # Verlet integration

Acknowledgements

The Verlet integration code is based on:

  • Works by Gerard Ferrandez
  • "A Verlet based approach for 2D game physics" by Benedikt Bitterli (2009)

The algorithm for solving constraints is from "Advanced Character Physics" by Thomas Jakobsen (2001).

License

Except where otherwise noted, the natlib source code is licensed under the MIT License.

The examples are licensed under the MIT+Ethics License; see the LICENSE file in that directory.

0.1.15

3 months ago

0.1.14

8 months ago

0.1.13

11 months ago

0.1.10

1 year ago

0.1.11

1 year ago

0.1.12

1 year ago

0.1.9

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.5

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.0

2 years ago

0.0.3

2 years ago

0.0.4

2 years ago

0.0.2

2 years ago

0.0.1

3 years ago

0.0.0

3 years ago