Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@null3d/geometry

Latest version: v0.1.3

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: hiddentao
3 Stars
1 Forks
4 Versions
600 Downloads
TypeScript Repo language

Scan summary

@null3d/geometry was last scanned on 29 Nov 2026 at version 0.1.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions, all published within 4 days (26–29 Nov 2026).
  • Findings: No rules fired in version 0.1.3.
  • Downloads: 600 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.3 LATEST 29 Nov 2026 No rules fired
0.1.2 28 Nov 2026 No rules fired
0.1.1 27 Nov 2026 No rules fired
0.1.0 26 Nov 2026 Not shown

No rules fired in 0.1.3

Findings

Findings for v0.1.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Geometry for null3D

@null3d/geometry makes shapes that the engine's own generators do not have, for a null3D scene: torus knots, polyhedra, lathes, flat shapes, extrusions and tubes. It also has the curves and outlines that build them. Each function returns plain arrays, and geometry.fromArrays makes a mesh from them. The functions keep three.js's option names and give the numbers that three.js's geometry holds, which helps when you port a scene.

Install

bun add @null3d/geometry @null3d/engine

Use

import { defineSketch } from '@null3d/engine';
import { torusKnot } from '@null3d/geometry';

export default defineSketch((ctx) => {
  const { scene, geometry, materials, time } = ctx;
  const camera = scene.createPerspectiveCamera({ position: [0, 1, 5], target: [0, 0, 0] });
  scene.setActiveCamera(camera);
  scene.createDirectionalLight({ direction: [-1, -2, -1], intensity: 3 });
  scene.createAmbientLight({ intensity: 0.4 });

  const arrays = torusKnot({ radius: 1, tube: 0.3, tubularSegments: 128, radialSegments: 12 });
  const knot = scene.createMesh({
    mesh: geometry.fromArrays(arrays),
    material: materials.standard({ color: '#4a8cff', roughness: 0.4 }),
    dynamic: true,
  });

  return {
    onUpdate() {
      knot.setRotationEuler(0, time.now, 0);
    },
  };
});

Each function takes named options, and an option that you leave out takes its default. The arrays hold a position, a normal and texture coordinates for each vertex, and indices for some shapes. The engine copies them, so you can change or drop them after the call.

The shapes

  • torusKnot: a tube that winds around a torus.
  • tetrahedron, octahedron, icosahedron and dodecahedron: a polyhedron. Its detail option splits its faces toward a sphere.
  • polyhedron: a polyhedron from your own corners and faces.
  • lathe: a profile of points turned around the Y axis, such as a vase.
  • shape: a flat shape from outlines, with holes, in the XY plane.
  • extrude: a shape pushed along +Z or along a curve, with an optional bevel.
  • tube: a tube along a 3D curve.

Curves and outlines

Shape and Path draw an outline with moveTo, lineTo, bezierCurveTo and the other commands of a 2D canvas. A Shape can hold holes. The 2D and 3D curves, such as CatmullRomCurve3, give the path that tube and extrude follow. ShapeUtils measures and triangulates outlines. Points are arrays of numbers, [x, y] or [x, y, z].

import { extrude, Shape } from '@null3d/geometry';

const outline = new Shape().moveTo(0, 0).lineTo(1, 0).lineTo(0.5, 1).lineTo(0, 0);
const wedge = geometry.fromArrays(extrude({ shapes: outline, depth: 0.4, bevelEnabled: false }));

Costs and limits

  • The arrays hold floats, in the vertex format of the engine's own generators. Meshes of one format share GPU buffers, so these shapes draw beside the built-in ones with few changes of GPU state.
  • A mesh from the arrays plans its levels of detail as any mesh made in code does. It plans them at its first draw when it holds 4,096 triangles or more, or when its copies hold 65,536 together.
  • A mesh has one material, and an extrusion's caps and sides form one mesh. To give the caps a material of their own, make them as a second mesh with shape.

Docs

The geometry docs page shows the package beside the engine's own generators. Its API reference lists every option and its default.

License

Licensed under either of the Apache License 2.0 or the MIT license, at your option.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @null3d/geometry

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229