Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marianpekar/vecalc
Vector math calculator with real-time response 3D visualization
https://github.com/marianpekar/vecalc
calculator dat-gui school threejs vector-math
Last synced: about 1 month ago
JSON representation
Vector math calculator with real-time response 3D visualization
- Host: GitHub
- URL: https://github.com/marianpekar/vecalc
- Owner: marianpekar
- Created: 2019-09-12T22:40:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-23T20:18:49.000Z (about 4 years ago)
- Last Synced: 2024-11-09T22:40:24.600Z (3 months ago)
- Topics: calculator, dat-gui, school, threejs, vector-math
- Language: JavaScript
- Homepage:
- Size: 310 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vecalc
Vecalc (Vector Calculator) is a little web-based helper for basic vector math.
Release: https://marianpekar.github.io/vecalc/
It takes two vectors on the input (via dat-gui on the top right corner) and computes their **addition, subtraction, dot product, cross product, magnitudes of all vectors, the angles among them and also between each axis for each of them as well**. The Angles are presented in form of a pair-wise cross table, via dat-gui you can switch between **degrees and radians**.
All the other outputs are presented in the top left corner. Precision could be set in range from 1 to 3 decimals.
All vectors are visualized in 3D space with axes thanks to THREE.js. In case you want to see normalized versions of these vectors, in dat-gui tick **Show Normalized**. You can also hide axis by unticking **Show Axes**
## Orbit Controlls
You can **rotate and move around** using mouse and keys:
- Scroll up/down: zoom in/out
- LMB + Move: rotate
- RMB + Move or arrow keys: traverse