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

@skenora/procedural

v0.1.3

Published

Pure deterministic compilers for Skenora procedural geometry and material graphs.

Readme

@skenora/procedural

Pure, renderer-independent compilers for versioned Skenora procedural programs.

This package is not currently published to npm; the install command below is intended release syntax. Procedural V1 is current repository source and is not covered by the 2026-08-28 package/browser evidence.

pnpm add @skenora/procedural
  • compileProceduralGeometry() validates and compiles a bounded geometry graph into positions, indices, normals, UVs, bounds, statistics, and a deterministic signature.
  • compileMaterialProgram() validates and lowers a typed material graph into a deterministic intermediate representation with parameter uniforms, requirements, topology signature, and content signature.
  • compileTextureProgram() produces deterministic bounded generated texture bytes and WGSL reflection metadata.
  • compileRenderGraph() lowers trusted capture/blur/transmission passes to ordered target IR with memory estimates.
  • compileSimulationProgram() expands fixed-step fluid, staged inverse FFT, or radiance/JFA declarations into stable ping-pong pass IR.
  • Schema, validation, capability-description, limit, and program types are re-exported from @skenora/contracts.
import {
  compileMaterialProgram,
  compileProceduralGeometry,
  validateProceduralGeometryProgram,
} from "@skenora/procedural";

const validation = validateProceduralGeometryProgram(geometryProgram);
if (!validation.valid) throw new Error(validation.issues[0]?.message);

const mesh = compileProceduralGeometry(geometryProgram);
const material = compileMaterialProgram(materialProgram);

console.log(mesh.stats, mesh.signature, material.topologySignature);

Geometry V1 limits nodes, segments, array counts, vertices, triangles, and convex extrusion profiles. Material V1 limits nodes and parameters and can write only PBR base color and emission. Changing parameter values preserves a material topology signature; changing graph structure or literals does not.

The package never evaluates authored JavaScript or shader source and owns no Canvas, Babylon, GPU, workspace, Editor, or network resources. See the repository; the current working-tree guide and resource-free example are docs/PROCEDURAL_AI.md and examples/procedural-ai/procedural-material.blueprint.json.

The explicit @skenora/procedural/emitters subpath contains versioned trusted GLSL and WGSL emitters over compiled MaterialProgram IR. It is an internal-style backend seam: callers cannot provide shader text. Runtime consumes the GLSL artifact; isolated tooling may inspect the WGSL artifact without making WebGPU part of the default Babylon Runtime. Physical WebGPU execution lives only in the explicit @skenora/runtime/simulation subpath.