Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
basic-camera
Advanced tools
A very basic camera for use in WebGL projects. Borrows a lot from mikolalysenko's orbit-camera module.
camera = require('basic-camera')([pos])
Creates a new camera: optionally, you can pass in pos
to set the initial
position.
camera.position
A gl-matrix vec3
representing the
position of the camera. It's array-like, so you can just set the [0]
, [1]
and [2]
indices to change the position.
camera.rotateX(radians)
Rotates the camera along the x-axis by radians
.
camera.rotateY(radians)
Rotates the camera along the y-axis by radians
.
camera.rotateZ(radians)
Rotates the camera along the z-axis by radians
.
camera.view([output])
Returns a new gl-matrix mat4
, which you
can then safely pass onto something like
gl-shader to handle the camera.
FAQs
A very basic camera for use in WebGL projects
The npm package basic-camera receives a total of 0 weekly downloads. As such, basic-camera popularity was classified as not popular.
We found that basic-camera demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.