
Security News
Federal Audit Finds NIST Wasted Funds With No Plan to Clear NVD Backlog
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.
@plasius/gpu-cloth
Advanced tools
Continuity-aware cloth simulation and rendering contracts for Plasius WebGPU stacks.
Continuity-aware cloth simulation and rendering contracts for Plasius WebGPU stacks.
Apache-2.0. ESM + CJS builds. TypeScript types included.
npm install @plasius/gpu-cloth
npm run demo
Then open http://localhost:8000/gpu-cloth/demo/.
npm run demo now serves a browser-based 3D harbor validation scene from the
public @plasius/gpu-shared package surface, focused on cloth continuity. The
existing console example remains available via npm run demo:example.
@plasius/gpu-worker.@plasius/gpu-performance.import {
createClothRepresentationPlan,
createClothSimulationPlan,
getClothWorkerManifest,
selectClothRepresentationBand,
} from "@plasius/gpu-cloth";
const representationPlan = createClothRepresentationPlan({
garmentId: "hero-cape",
kind: "cape",
profile: "interactive",
supportsRayTracing: true,
nearFieldMaxMeters: 18,
midFieldMaxMeters: 55,
farFieldMaxMeters: 180,
});
const activeBand = selectClothRepresentationBand(32, representationPlan.thresholds);
const activeRepresentation = representationPlan.representations.find(
(entry) => entry.band === activeBand
);
console.log(activeBand, activeRepresentation?.continuity);
const simulationPlan = createClothSimulationPlan("interactive");
const workerManifest = getClothWorkerManifest("interactive");
console.log(simulationPlan.snapshotSource.stage, workerManifest.jobs.length);
Cloth bands share a continuity group and motion field identity. Each band retains a non-zero silhouette floor and broad-motion floor from the same shared source so the garment still reads as the same object when the view changes:
near: full live simulation, highest mesh density, highest update ratemid: reduced live simulation, lower wrinkle detail, same broad motionfar: pose or sway proxy, same silhouette and pinned-anchor identityhorizon: silhouette impression with retained directional motionThe continuity model is designed so the visual answer changes in fidelity, not in whether the cloth still appears attached, moving, or present.
The package emits multi-root DAG manifests rather than flat FIFO job lists.
Typical roots:
snapshot-ingestwind-field-advanceTypical downstream joins:
near-cloth depends on both the stable physics snapshot and the current
cloth solve statewrinkle-history depends on both near-cloth and mid-clothEach job carries:
@plasius/gpu-worker@plasius/gpu-performance@plasius/gpu-debug adoption@plasius/gpu-cloth currently provides:
It does not yet provide:
npm ci
npm run lint
npm run typecheck
npm test
npm run build
FAQs
Continuity-aware cloth simulation and rendering contracts for Plasius WebGPU stacks.
The npm package @plasius/gpu-cloth receives a total of 125 weekly downloads. As such, @plasius/gpu-cloth popularity was classified as not popular.
We found that @plasius/gpu-cloth 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.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.