🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@booboo-brain/viewer

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@booboo-brain/viewer

Booboo 3D viewer — the scale-first R3F renderer. Instanced GPU field + tier-LOD. Renders any Booboo graph.

latest
Source
npmnpm
Version
0.2.3
Version published
Maintainers
1
Created
Source

@booboo-brain/viewer

The Booboo 3D renderer — a scale-first React Three Fiber component that draws any Booboo graph as a rooted, tiered brain. One GPU point field + tier-LOD, so a million nodes stay at 60fps (see SCALE.md).

Install

npm install @booboo-brain/viewer react react-dom

Use

import { BoobooView } from "@booboo-brain/viewer";
import type { BoobooGraph } from "@booboo-brain/spec";

export function Brain({ graph }: { graph: BoobooGraph }) {
  return <BoobooView data={graph} />;
}

BoobooView is the full app shell (controls, node dossier, persisted settings); Booboo is the bare scene if you bring your own chrome. layout() exposes the typed-array layout pass, and defaultCfg / BoobooCfg type the visual knobs.

No React app? No problem

booboo view --snapshot brain.json      # serves the prebuilt standalone app + opens your browser
booboo view --demo --nodes 1000000     # synthetic brain, no data needed

The package ships a prebuilt static app (dist-app/) that the @booboo-brain/cli view command serves directly. For monorepo hacking there's a playground: pnpm -F @booboo-brain/viewer dev, then open with ?n=1000000.

Part of Booboo — the unified operational brain. MIT.

FAQs

Package last updated on 04 Aug 2026

Did you know?

Socket

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.

Install

Related posts