GithubHelp home page GithubHelp logo

open-dis / open-dis-javascript Goto Github PK

View Code? Open in Web Editor NEW
11.0 5.0 12.0 2.69 MB

Javascript implementation of the IEEE-1278.1 Distributed Interactive Simulation (DIS) application protocol v6 and v7

License: BSD 2-Clause "Simplified" License

JavaScript 100.00%
dis protocol

open-dis-javascript's Introduction

Open DIS for Javascript

NPM version

Introduction

A Javascript implementation of DIS that decodes IEEE 1278.1 binary data format messages and turns them into Javascript objects.

This library is intended to be used on the client side with the websocket receiving data. The web socket hands off an event message with binary data attached, and the javascript library decodes it and turns it into a javascript object.

The code also includes some simple coordinate system transforms to change DIS world coordinates to (lat, lon, alt) or to a position in a local tanget plane coordinate system.

Build

To generate a single dis6.min.js and dis7.min.js from the source files, run the following command:

$ npm install

Release

Releases are published to http://npmjs.com/package/open-dis

  1. $ npm login
  2. $ npm version <version-to-be-released>
  3. $ npm publish
  4. $ git push
  5. $ git push --tags
  6. Draft a new GitHub Release for this tag.

Examples

Example code using this library for sending and receiving DIS packets with Node.js can be found here: https://github.com/keckxde/node-disnetworkclient

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.