npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

orbweaver-core

v0.4.0

Published

Orbweaver is a library for rendering blob-like shapes.

Readme

Orbweaver

NPM Version

orbweaver-demo

A library for rendering pleasing blob-like orbs as ascii or shaded hues.

It supports:

  • Bring your own rendering backend (canvas, terminal ascii, etc)
  • Customizable colors
  • Responsive interaction (mouse, keyboard, audio, etc)
  • Configurable framerate for performance control

Packages

| Package | Description | Version | |---------|-------------|------| | orbweaver-core | Core library for rendering orbweavers | NPM Version | | orbweaver-react | React bindings for rendering orbweavers | NPM Version |

Usage

# install the orbweaver package
pnpm add orbweaver-core

Render a blob in an HTML canvas (auto-initialized canvas ASCII renderer):

// index.ts
import { Orbweaver } from "orbweaver-core";

const orbweaver = new Orbweaver(
  document.getElementById("canvas") as HTMLCanvasElement
);

orbweaver.start();
<!-- index.html -->
<canvas id="canvas" style="width: 100%; height: 100%; border-radius: 8px; border: 1px solid #1E3A2F; background: #081B12;"></canvas>

Bring your own renderer (advanced):

// index.ts
import {
  Orbweaver,
  CanvasAsciiRenderer,
  BobBehavior,
  RotateBehavior,
  OrbitBehavior,
  type Renderer,
} from "orbweaver-core";

const canvas = document.getElementById("canvas") as HTMLCanvasElement;

// You can either use the provided CanvasAsciiRenderer explicitly...
const renderer = new CanvasAsciiRenderer(canvas, {
  cols: 100,
  rows: 36,
  foreground: "#A8FFB5",
  background: "#081B12",
});

// ...or supply any custom implementation of the Renderer interface
// interface Renderer {
//   getPixelSize(): { width: number; height: number };
//   getGridSize(): { cols: number; rows: number };
//   render(intensityAt: (col: number, row: number) => number): void;
//   onResize(callback: () => void): () => void;
// }

// Create behaviors
const bob = new BobBehavior({ amplitude: 0.05, rate: 2.5 });
const rotate = new RotateBehavior({ speed: 2.5, direction: -1 });
const orbit = new OrbitBehavior({ radiusUnits: 0.15, angularSpeed: 1 });

// Initialize the orbweaver with the renderer and desired behaviors
const orbweaver = new Orbweaver({
  renderer,
  behavior: [bob, rotate, orbit],
});

orbweaver.start();

// Update behavior parameters later
rotate.set({ speed: 2.0 });
bob.set({ amplitude: 0.4 });

// Apply a transient impulse (normalized units-per-second, towards the center of the renderer)
orbweaver.impulse({ x: 1.2, y: 0 });

Development

Install dependencies:

# ensure node v23 is installed, and pnpm v10.14
pnpm install

Start the development react app from the root of the monorepo:

pnpm dev