Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
three-conic-polygon-geometry
Advanced tools
A ThreeJS geometry class for drawing polygons on a sphere using cones.
Examples:
import { ConicPolygonGeometry } from 'three-conic-polygon-geometry';
or
const { ConicPolygonGeometry } = require('three-conic-polygon-geometry');
or even
<script src="//unpkg.com/three-conic-polygon-geometry"></script>
then
const myMesh = new THREE.Mesh(
new THREE.ConicPolygonGeometry(polygonGeoJson),
new THREE.MeshBasicMaterial({ color: 'blue' })
);
ConicPolygonGeometry(polygonGeoJson: GeoJson polygon coordinates, bottomHeight: Float, topHeight: Float, closedBottom: Boolean, closedTop: Boolean, includeSides: Boolean, curvatureResolution: Float)
geometry.coordinates
for type: Polygon
. The first item is the polygon contour, additional items are the inner holes. It's recommended to split the geometries at the anti-meridian.0
.1
.true
.true
.true
.5
..parameters: Object
An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.
The geometry supports three distinct groups to which different materials can be applied.
FAQs
ThreeJS geometry for drawing polygons on a sphere
The npm package three-conic-polygon-geometry receives a total of 43,253 weekly downloads. As such, three-conic-polygon-geometry popularity was classified as popular.
We found that three-conic-polygon-geometry demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.