Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lr-core

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lr-core

Line Rider core library

  • 0.8.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
18
increased by50%
Maintainers
2
Weekly downloads
 
Created
Source

lr-core

This repository contains the core libary for Line Rider:

  • line-rider-engine: Backwards compatible physics engine for Line Rider

Some helper libraries:

  • v2: simple 2d vectors
  • g2: geometry helpers
  • immo: Immutable Manually Managed Objects
  • ordered-object-array: A collection for sorted objects in an array
  • line-engine: A framework for deterministic grid-based physics engines with efficient recomputation
  • line-space: A data structure for efficient spatial querying of lines

And some utility functions in utils:

  • dda: digital differential analyzer (draws a line using pixels) for floating point coordinates
  • hashNumberPair: functions that map every pair of integers to a unique integer

These libraries are located in src, along with their corresponding tests.

Usage

See src/line-rider-engine.spec.js

Build

  1. npm install
  2. make

This transpiles the source files from es6 into whatever can be run natively in your version of node. The built files will be located in build

Test

make test

Test results are put into test-results.

Keywords

FAQs

Package last updated on 20 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc