
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
sparse-octree
Advanced tools
A sparse octree data structure.
Extensive Demo ∴ API Reference
$ npm install sparse-octree
import { Octree, CubicOctant } from "sparse-octree";
export class CubicOctree extends Octree {
constructor(min, size) {
this.root = new CubicOctant(min, size);
}
}
import { Scene } from "three";
import { Octree, OctreeHelper } from "sparse-octree";
const scene = new Scene();
const octree = new Octree();
const octreeHelper = new OctreeHelper(octree);
scene.add(octreeHelper);
import { Vector3 } from "three";
import { PointOctree } from "sparse-octree";
const min = new Vector3(-1, -1, -1);
const max = new Vector3(1, 1, 1);
const octree = new PointOctree(min, max);
octree.add(new Vector3(0, 0, 0), {});
octree.fetch(new Vector3(0, 0, 0)); // => {}
A full point octree example can be found here.
Maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.
FAQs
A sparse octree data structure.
The npm package sparse-octree receives a total of 212 weekly downloads. As such, sparse-octree popularity was classified as not popular.
We found that sparse-octree demonstrated a not healthy version release cadence and project activity because the last version was released 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
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.