
Product
Socket Now Protects the Microsoft Edge Extension Ecosystem
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.
@triforge/radius-parametric-geometry
Advanced tools
Parametric geometry for Three.js - 90.6% triangle reduction
Optimized parametric geometry for Three.js with 90.6% triangle reduction.
npm install @three-radius-parametric three
import { RadiusParametricGeometry } from '@three-radius-parametric'
import * as THREE from 'three'
const geometry = new RadiusParametricGeometry(
(u, v) => 1 + 0.5 * Math.cos(v * Math.PI * 2),
(u, v) => 0.5 * Math.sin(v * Math.PI * 2),
{ radiusSegments: 32, heightSegments: 16 }
)
const mesh = new THREE.Mesh(geometry, new THREE.MeshPhongMaterial({ color: 0x00ff00 }))
scene.add(mesh)
new RadiusParametricGeometry(
radiusFunction: (u: number, v: number) => number,
heightFunction?: (u: number, v: number) => number,
options?: RadiusGeometryOptions
)
Both u and v are in [0, 1].
| Option | Default | Description |
|---|---|---|
radiusSegments | 32 | Segments around the axis |
heightSegments | 16 | Segments along the height |
thetaStart | 0 | Start angle (radians) |
thetaLength | 2π | Angle sweep (radians) |
getStats(): GeometryStats — vertex count, triangle count, memory usagenew RadiusParametricGeometry((u, v) => Math.sin(v * Math.PI))
new RadiusParametricGeometry(
(u, v) => 1 - v,
(u, v) => v
)
new RadiusParametricGeometry(
(u, v) => 1 + 0.5 * Math.cos(v * Math.PI * 2),
(u, v) => 0.5 * Math.sin(v * Math.PI * 2)
)
new RadiusParametricGeometry(
(u, v) => 1 + 0.3 * Math.sin(u * Math.PI * 4 + v * Math.PI * 2)
)
MIT
FAQs
Parametric geometry for Three.js - 90.6% triangle reduction
The npm package @triforge/radius-parametric-geometry receives a total of 10 weekly downloads. As such, @triforge/radius-parametric-geometry popularity was classified as not popular.
We found that @triforge/radius-parametric-geometry 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.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.

Research
/Security News
Socket researchers found 18 Chrome extensions and one Edge extension delivering a wallet drainer, credential theft, and other malicious payloads.

Product
Create ClickUp tasks from Socket alerts, automate ticketing with custom rules, and keep alert and task status synchronized.