New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

webgl-tech-particles

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webgl-tech-particles

Interactive 3D particle system with technology icons using WebGL

latest
Source
npmnpm
Version
1.0.18
Version published
Weekly downloads
31
933.33%
Maintainers
1
Weekly downloads
 
Created
Source

WebGL Tech Particles

GitHub license Latest version npm deploy demo

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

Install

Using npm:

npm i webgl-tech-particles

Usage

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.

CDN Usage

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

Settings

Example with basic settings.

You can also export settings from the demo version.

Below is a description of the settings.

Particle Settings:

NameDefaultDescription
enableRotationfalseEnable/disable sphere rotation
rotationSpeed0.1Rotation speed
showLinestrueShow/hide meshes between particles (icons)
minDistance150Minimum distance to create meshes connecting particles
maxConnections20Maximum number of connections
particleVelocity0.1Velocity 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
enableCameraControlstrueEnable/disable the ability to rotate and resize the sphere

Camera Settings:

NameDefaultDescription
positionZ1750Initial position of the sphere by Z coordinates
farPlane4000The farthest distance that can be obtained by resizing a sphere
nearPlane1Minimum distance from the camera at which objects begin to be displayed
fieldOfView45Maximum distance from the camera at which objects will still be displayed

Orbit Controls Settings:

NameDefaultDescription
minDistance1000Minimum distance the camera can get to the target (focus point)
maxDistance3000Maximum distance the camera can get to the target (focus point)

Scene Settings:

NameDefaultDescription
halfRadius400Radius value for constructing a sphere
iconSize20Icons size
particlesCount500Number of particles
maxParticlesCount1000Maximum number of particles

Credits

It is mainly developed using the JavaScript 3D library three.js.

License

MIT

Keywords

javascript

FAQs

Package last updated on 02 Mar 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