1.0.2 • Published 9 months ago

roller-derby-track-utils v1.0.2

Weekly downloads
-
License
Unlicense
Repository
github
Last release
9 months ago

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.

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago