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 🙏

© 2025 – Pkg Stats / Ryan Hefner

webgl-tech-particles

v1.0.13

Published

Interactive 3D particle system with technology icons using WebGL

Readme

Interactive 3D particle system with technology icons using WebGL and Three.js.

This project is an interactive 3D visualization of technology icons (e.g., JavaScript, Python, React, Docker, etc.) implemented with WebGL and Three.js. Particles representing different technologies move dynamically in a 3D space, connecting with each other based on customizable parameters.

Live demo

Using npm:

npm i webgl-tech-particles
import {initWebGLTechParticles} from 'webgl-tech-particles';

initWebGLTechParticles('tech-particles');

To apply your custom settings, you need to specify the path to settings.json as the second parameter in initWebGLTechParticles:

import {initWebGLTechParticles} from 'webgl-tech-particles';

initWebGLTechParticles('tech-particles', 'settings.json');

If you want to use a custom icon set, you need to specify the path to the icon folder in your settings.json:

"iconFolderPath": "icons"

Also in the icon folder you need to create a file iconList.json and specify which icons to load.

Example of iconList.json:

[
    "vue.webp",
    "react.webp",
    "dart.webp",
    "rust.webp",
    "aws.webp"
]

For correct operation, it is better to upload small icons in png and webp formats.

You can also use this package directly in the browser via CDN without installing it via npm. To do this, include the following script tag in your HTML file:

<script type="module">
  import { initWebGLTechParticles } from 'https://cdn.jsdelivr.net/npm/webgl-tech-particles@:vesrion/dist/webgl-tech-particles.js';
  initWebGLTechParticles('tech-particles', 'settings.json');
</script>

Replace :vesrion with the version you need

Example with basic settings.

You can also export settings from the demo version.

Below is a description of the settings.

| Name | Default | Description | |------------------------|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------| | enableRotation | false | Enable/disable sphere rotation | | rotationSpeed | 0.1 | Rotation speed | | showLines | true | Show/hide meshes between particles (icons) | | minDistance | 150 | Minimum distance to create meshes connecting particles | | maxConnections | 20 | Maximum number of connections | | particleVelocity | 0.1 | Velocity of particles | | colorEnabled [] | [true, true, true] | The sphere can have 3 colors for the meshes connecting the particles, this setting allows you to turn on/off certain colors | | availableColors [] | ['#b02727', '#454545','#15154c'] | Available colors for meshes | | enableCameraControls | true | Enable/disable the ability to rotate and resize the sphere |

| Name | Default | Description | |---------------|---------|---------------------------------------------------------------------------| | positionZ | 1750 | Initial position of the sphere by Z coordinates | | farPlane | 4000 | The farthest distance that can be obtained by resizing a sphere | | nearPlane | 1 | Minimum distance from the camera at which objects begin to be displayed | | fieldOfView | 45 | Maximum distance from the camera at which objects will still be displayed |

| Name | Default | Description | |---------------|---------|-----------------------------------------------------------------| | minDistance | 1000 | Minimum distance the camera can get to the target (focus point) | | maxDistance | 3000 | Maximum distance the camera can get to the target (focus point) |

| Name | Default | Description | |---------------------|---------|----------------------------------------| | halfRadius | 400 | Radius value for constructing a sphere | | iconSize | 20 | Icons size | | particlesCount | 500 | Number of particles | | maxParticlesCount | 1000 | Maximum number of particles |