1.4.1 • Published 10 months ago

kinetics.ts v1.4.1

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

image Credits to SimplyTav for creating this logo.

About

A blazingly fast, simple 2D physics engine for JavaScript and TypeScript, for both frontend and backend applications.

Features

  • System/Entity Architecture Support
  • Built-in Canvas2D Renderer
  • Fast Narrowphase Collision Detection
  • Fast Broadphase Collision Detection
  • Fast Collision Resolution
  • Collision Callbacks

Installation

To install this package on a server or a web framework, use the following command:

npm install kinetics.ts

For a vanilla HTML/CSS/JS project, use the following script tag:

<script src="https://cdn.jsdelivr.net/gh/Altanis/kinetics-ts/build/kinetics.min.js" defer></script>

and all of the engine's classes will be available under the Kinetics namespace (window.Kinetics.System, window.Kinetics.Entity, etc.).

Benchmarks

A 1920x1080 rectangular system of 1,000 entities was benchmarked, where each entity had a radius randomly selected between 3 and 13.

System Specifications:

  • Apple M2 chip
  • 8-core CPU with 4 performance cores and 4 efficiency cores
  • 8-core GPU
  • 16-core Neural Engine
  • 100GB/s memory bandwidth

The benchmarks provide evidence of the engine's exceptional speed and performance in comparison to other alternatives.

1.4.1

10 months ago

1.4.0

10 months ago

1.3.0

10 months ago

1.2.1

10 months ago

1.2.0

10 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago