Socket
Socket
Sign inDemoInstall

vrjs-recorder

Package Overview
Dependencies
103
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vrjs-recorder

position and orientation recorder for vrjs applications


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

vrjs - recorder

recorder tracks a set of object positions and orientations. Past p & o can be queried during runtime to facilitate history-based interaction techniques and behavious.

P & O data is stored continuously at user-defined intervals. Records are stored to an in-memory NeDB data store.

P & O data is indexed by object name and time stamp to provide fast query history. For application that do not require query, indexing can be disabled to allow for faster updates.

By default P & O data is lost when the application shuts down (its an in-memory database), but P & O data can be stored to files by calling persist(filename). This operation is relatively slow, it should not be called during the frame update cycle!

Under normal operation, recorder should only be collecting data for short periods of time - as over time memory consumption could grow too high. Alternatively, when creating a recorder you can specify the log: true option to instead make all recordings go to disk using nedb logger instead. Latency on writes needs to be considered in this use case.

Keywords

FAQs

Last updated on 21 Jul 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc