JSPM

  • Created
  • Published
  • Downloads 8
  • Score
    100M100P100Q73215F
  • License Apache-2.0

n-dimensional boids simulation with highly configurable behaviors

Package Exports

  • @thi.ng/boids
  • @thi.ng/boids/api
  • @thi.ng/boids/boid

Readme

@thi.ng/boids

npm version npm downloads Mastodon Follow

This project is part of the @thi.ng/umbrella monorepo and anti-framework.

About

n-dimensional boids simulation with highly configurable behaviors.

Status

ALPHA - bleeding edge / work-in-progress

Search or submit any issues for this package

Installation

yarn add @thi.ng/boids

ES module import:

<script type="module" src="https://cdn.skypack.dev/@thi.ng/boids"></script>

Skypack documentation

For Node.js REPL:

const boids = await import("@thi.ng/boids");

Package sizes (brotli'd, pre-treeshake): ESM: 1.14 KB

Dependencies

Usage examples

One project in this repo's /examples directory is using this package:

Screenshot Description Live demo Source
Basic 2D boid simulation and spatial indexing neighbor lookups Demo Source

API

Generated API docs

TODO

Authors

If this project contributes to an academic publication, please cite it as:

@misc{thing-boids,
  title = "@thi.ng/boids",
  author = "Karsten Schmidt",
  note = "https://thi.ng/boids",
  year = 2023
}

License

© 2023 Karsten Schmidt // Apache License 2.0