Gathering detailed insights and metrics for primitive-octasphere
Gathering detailed insights and metrics for primitive-octasphere
Gathering detailed insights and metrics for primitive-octasphere
Gathering detailed insights and metrics for primitive-octasphere
An octasphere geometry for 3D rendering, including normals, UVs and cell indices (faces).
npm install primitive-octasphere
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (99.89%)
HTML (0.11%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
15 Commits
2 Watchers
1 Branches
1 Contributors
Updated on Jul 07, 2024
Latest Version
1.1.1
Package Id
primitive-octasphere@1.1.1
Unpacked Size
12.73 kB
Size
4.30 kB
File Count
6
NPM Version
10.8.1
Node Version
22.3.0
Published on
Jul 07, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
5
An octasphere geometry for 3D rendering, including normals, UVs and cell indices (faces). Based on Philip Rideout's article here.
1npm install primitive-octasphere
1import createOctasphere from "primitive-octasphere"; 2 3const geometry = createOctasphere(); 4 5console.log(geometry); 6// { 7// positions: [ [x, y, z], [x, y, z], ... ], 8// cells: [ [a, b, c], [a, b, c], ... ], 9// uvs: [ [u, v], [u, v], ... ], 10// normals: [ [x, y, z], [x, y, z], ... ] 11// }
SimplicialComplex
An octasphere geometry for 3D rendering, including normals, UVs and cell indices (faces).
Array.<number>
Array.<number>
object
object
Geometry definition.
SimplicialComplex
An octasphere geometry for 3D rendering, including normals, UVs and cell indices (faces).
Kind: global function
Param | Type | Default |
---|---|---|
[options] | OctasphereOptions | {} |
Array.<number>
Array.<number>
object
Kind: global typedef Properties
Name | Type | Default |
---|---|---|
[radius] | number | 0.5 |
[subdivisions] | number | 2 |
object
Geometry definition.
Kind: global typedef Properties
Name | Type |
---|---|
positions | Array.<vec3> |
normals | Array.<vec3> |
uvs | Array.<vec2> |
cells | Array.<vec3> |
MIT. See license file.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 0/15 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More