Socket
Book a DemoInstallSign in
Socket

geomaf

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

geomaf

All my geometry(ish) utilities unified in one location.

unpublished
latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

geomaf

A handful of geometry and other math related tools I use in vanilla js game engine stuff.

⚠️ Package is still in early stages. Nothing has been exhaustively tested, some things not tested at all. Still a WIP!

Installation

npm i geomaf

Usage

import { Vec3 } from 'geomaf';

const vec = Vec3.zero;
console.log(vec);

vec.add(2);
console.log(vec);

Code Splitting

Everything is individually bundled. Get those performance gains and import only what you need.

import { Vector3 } from 'geomaf/vec3';

console.log(Vector3.multiply(Vector3.zero, 69));

Keywords

vector

FAQs

Package last updated on 24 Apr 2024

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