roller-derby-track-utils
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Roller Derby Track Utils

Compute skater states, pack definition, pack shapes and engagement zone shapes. Used in Track-Viz project.

Frame of reference

The computed track is centered at (0, 0). The coordinate system follows the SVG or screen coordinate system with x value from left to right and y values from top to bottom.

Units

This package is using the metric system.

Peer Dependencies

Uses lodash and three.js. Tested with three.js ^0.115.0 and with lodash ^4.17.15. Will probably run on different versions as well. Three.js is used everywhere because of Vector2 for vector computations.

Examples

2D and 3D rendering examples can be found in the examples folder.

Readme

Keywords

Package Sidebar

Install

npm i roller-derby-track-utils

Weekly Downloads

2

Version

1.0.2

License

Unlicense

Unpacked Size

580 kB

Total Files

37

Last publish

Collaborators

  • webdingens