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

bp-cloner

v0.0.3

Published

More info and explanations here - https://doc.babylonjs.com/communityExtensions/clonerSystem

Readme

Cloner System for Babylon.js

More info and explanations here - https://doc.babylonjs.com/communityExtensions/clonerSystem

TypeDoc Documentation - https://clonersystem.babylonpress.org/docs/

Definitions:

Demo

The demo with all cloners (animated) - https://clonersystem.babylonpress.org/ (the default example scene for this repo) The demo with all cloners (static) - https://babylonpress.org/cloner/ Extensive old version documentation - https://doc.babylonjs.com/communityExtensions/clonerSystem

Playground demos

https://playground.babylonjs.com/#1MYQ3T#47 https://playground.babylonjs.com/#1WRUHY#2 https://www.babylonjs-playground.com/#1NYYEQ#5 https://www.babylonjs-playground.com/#1NYYEQ#6 https://www.babylonjs-playground.com/#1NYYEQ#7 https://playground.babylonjs.com/#JWETXJ#0

Import and Usage

npm i bp-cloner

Import needed Cloners like import { RandomEffector } from "bp-cloner";import { MatrixCloner } from "bp-cloner"

Then use like

Or if you use <script> tags see UMD and ESM variants here - https://www.jsdelivr.com/package/npm/bp-cloner?tab=files

Getting started with this repo

This is a Babylon.js project using typescript, latest babylon.js es6 core module, vite 6.

To run the basic Cloner System scene (with some animations):

  1. Clone / download this repository
  2. run npm install to install the needed dependencies.
  3. run npm run dev to display the test page.
  4. To test : npm run test , for coverage npm run test:coverage
  5. Build with npm run build (only Cloner folder to dist/).

Demo Build and Preview

To build and preview the demo application:

  • Build demo for production: npm run build:demo - Creates optimized demo in dist-demo/ folder
  • Preview built demo: npm run preview:demo - Serves the built demo at http://localhost:4173/

The demo build creates a production-ready version of the cloner showcase with all animations and effects, ready for deployment to any static hosting service.

TypeDoc Support

To generate documentation use npx typedoc --entryPointStrategy Expand src/Cloner --exclude "src/Cloner/index.ts"

Demo Scene Cloners

The demo scene (src/scene.ts) showcases 20 different cloner configurations with smooth animations:

  1. DNA Double Helix - Two intertwined spiral strands with connecting bars
  2. Pulsating Crystal Matrix - 5×5×5 grid of transparent polyhedrons with smooth pulsating
  3. Wave Matrix - 12×12 grid creating dynamic sine wave patterns
  4. Golden Spiral Galaxy - 80 elements spiraling outward using golden angle
  5. Morphing Sphere - Radial sphere with random position variations
  6. Orbiting Rings - Three concentric rings rotating at different speeds
  7. Fibonacci Tower - Vertical tower with Fibonacci spiral rotation
  8. Radial Burst - Explosive radial pattern with pulsating radius
  9. Helix Tower - Vertical helix structure with smooth growth animation
  10. Concentric Circles - Three counter-rotating circles with breathing effect
  11. Staircase to Heaven - Ascending stairs with dramatic expansion/contraction
  12. Particle Explosion - Multi-layered expanding particle system
  13. Twisted Ribbon - Spiraling ribbon with tightening/loosening animation
  14. Pyramid Structure - 3D pyramid grid with vertical oscillation
  15. Vortex Tunnel - Spinning tunnel with pulsing depth
  16. Flower Petals - Radial petals opening and closing
  17. Cube Lattice - 3D grid with random position/rotation variations
  18. Sine Wave Path - Linear path with wave motion and compression
  19. Spinning Blades - Radial blades with dramatic radius expansion
  20. Atom Model - Nucleus with three electron orbital rings

All cloners feature smooth SineEase animations on radius and growth properties, PBR materials with metallic and emissive effects, and an auto-rotating camera.

Contributors

Based on Cloner System extension https://github.com/androdlang/Extensions/tree/master/ClonerSystem by https://github.com/androdlang

Changelog

0.0.3

  • Added dedicated demo build and preview commands using vite.demo.config.ts
  • Fixed RadialCloner constructor offset handling to consistently use degree-based public API values
  • Fixed nested LinearCloner rotation cloning so rotations are not double-converted
  • Fixed MatrixCloner root lifecycle when changing mcount
  • Fixed matrix and thin-instance export logic to include wrapper-node transforms such as ObjectCloner scaling