Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maurocolella/react-gl-particles

Particle effect using React with Pixi.js
https://github.com/maurocolella/react-gl-particles

Last synced: about 1 month ago
JSON representation

Particle effect using React with Pixi.js

Awesome Lists containing this project

README

        

# Particle Network

Also known as distance field, distance graph, particle graph...
Uses PixiJS for rendering with WebGL, which further opens it up for use with custom shaders.

### Installation

```
npm install --save react-gl-particles
```

### Features:

As of version 1.0.2, the component supports the following properties:

| Property | Type | Default | Use |
| ------------ | ------ | ------------------ | ----------------------------------------------------------- |
| antialias | bool | false | |
| color | number | 0xffffff | Drawing color |
| background | number | None (transparent) | Background color |
| numPoints | number | 100 | Number of vertices |
| maxDistance | number | 100 | Maximum edge length (beyond which edges become transparent) |
| style | object | None | React style definitions |
| className | string | None | React className |