Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jamesmfriedman/3dwave

React 3JS Wave
https://github.com/jamesmfriedman/3dwave

Last synced: 9 days ago
JSON representation

React 3JS Wave

Awesome Lists containing this project

README

        

3D Wave
-------
[https://jamesmfriedman.github.io/3dwave/](https://jamesmfriedman.github.io/3dwave/)

Wave Component
Makes a 3d wave with a transparent background that conforms to the size of its container
Props
- color: a hex value for a number 0xffffff
- separation: how far apart the orbs are. Cannot be reset during components life.
- amountX: how many orbs on the X axis
- amountY: how many orbs on the Y axis
- speed: how fast the wave is pulsing
- height: how tall the waves are
- scale: a scaling factor for the orbs as they pulse

Dependencies
- ThreeJS `npm install three`

Usage
```javascript
const MyComponent = props => {
return (

)
}
```