
Company News
Socket Partners with Replit to Block Malicious Packages in AI-Powered Development
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.
@plasius/gpu-camera
Advanced tools
Framework-agnostic multi-camera control runtime with parallel multiview planning.
Framework-agnostic multi-camera runtime for Plasius GPU projects.
@plasius/gpu-camera is the replacement track for camera-controls usage. It
provides deterministic camera orchestration with:
Apache-2.0. ESM + CJS builds.
npm install @plasius/gpu-camera
import { createCameraManager } from "@plasius/gpu-camera";
const cameras = createCameraManager({
maxParallelViews: 2,
maxHotCameras: 3,
});
cameras.registerCamera({
id: "main",
priority: 100,
transform: {
position: [0, 3, 8],
target: [0, 0, 0],
up: [0, 1, 0],
},
projection: {
kind: "perspective",
fovY: 60,
near: 0.1,
far: 2000,
aspect: 16 / 9,
},
});
cameras.registerCamera({
id: "map",
priority: 50,
transform: {
position: [0, 40, 0],
target: [0, 0, 0],
up: [0, 0, -1],
},
projection: {
kind: "orthographic",
left: -50,
right: 50,
top: 50,
bottom: -50,
near: 0.1,
far: 1000,
},
viewport: { x: 0.72, y: 0.72, width: 0.26, height: 0.26 },
});
cameras.activateCamera("main");
// build a parallel render plan for multi-view
const plan = cameras.createRenderPlan({ mode: "multiview" });
createCameraManager(options)applyCameraControl(camera, control)createRenderPlan(snapshot, options)buildViewMatrix(camera)buildProjectionMatrix(camera, overrideAspect)toCameraUniform(camera, overrideAspect)Run the demo server from repo root:
cd gpu-camera
npm run demo
Then open http://localhost:8000/gpu-camera/demo/.
src/index.js: camera manager, controls, matrix/uniform helpers, render planner.tests/package.test.js: unit tests for multiview and fast-switch behavior.docs/adrs/*: architectural decisions for camera runtime design.FAQs
Framework-agnostic multi-camera control runtime with parallel multiview planning.
The npm package @plasius/gpu-camera receives a total of 56 weekly downloads. As such, @plasius/gpu-camera popularity was classified as not popular.
We found that @plasius/gpu-camera demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.