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

versor

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

versor

Versor

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.9K
decreased by-27.35%
Maintainers
1
Weekly downloads
 
Created
Source

Versor

In Node:

var versor = require("versor");

versor([90,0,0]);

var v0 = versor([ 0, 0, 0 ]), v1 = versor([ 90, 0, 0 ]);

// quaternion to rotate between v0 and v1
versor.delta(v0, v1);

// tweening: quaternion to rotate halfway between v0 and v1
versor.delta(v0, v1, 0.5);


In a browser:

<!DOCTYPE html>
<script src="https://unpkg.com/versor"></script>
<script>

versor([90,0,0]);

</script>

Keywords

FAQs

Package last updated on 06 Nov 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