Skip to content

Instantly share code, notes, and snippets.

{
"resources": [
{
"namespace": "ai",
"type": "vector_prediction",
"labels": {
"generation": 6,
"systemVersion": "gen6-glowing_moon",
"internalSystemVersion": "LedZeppelin:F.2",
"systemReleaseDate": "2025-07-01",
// Single-file Supercluster with inlined KDBush and zoom-aware reduce support
// Compatible with importScripts in Web Workers (attaches Supercluster to self)
// No external dependencies
// -------------------- Inlined KDBush --------------------
const ARRAY_TYPES = [
Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array,
Int32Array, Uint32Array, Float32Array, Float64Array
];