| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
// React npm i @paper-design/shaders-react // vanilla npm i @paper-design/shaders // Please pin your dependency – we will ship breaking changes under 0.0.x versioning
import {MeshGradient, DotOrbit} from '@paper-design/shaders-react';
<MeshGradient
colors={['#5100ff', '#00ff80', '#ffcc00', '#ea00ff']}
distortion={1}
swirl={0.8}
speed={0.2}
style={{width: 200, height: 200}}
/>
<DotOrbit
colors={['#d2822d', '#0c3b7e', '#b31a57', '#37a066']}
colorBack={'#000000'}
scale={0.3}
style={{width: 200, height: 200}}
/>
// these settings can be configured in code or designed in PaperFeel free to use this code in any projects, commercial or otherwise.
If you use this code or wrap the library to create another shader library or tool, we ask that you give attribution and link to Paper Shaders (it helps us continue investing in this project). Thank you!
| Back | FazBrowse Home | New Git URL |