MCPcopy Create free account
hub / github.com/codemistic/Web-Development / Particle

Function Particle

Modern-Portfolio/src/Components/Particle.js:5–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import React from 'react';
4
5function Particle() {
6 return (
7 <>
8 <Particles width="100%" height="100vh"
9 params={{
10 particles: {
11 number:{
12 value:109,
13 density:{
14 enable: true,
15 value_area: 1200
16 }
17 },
18 color:{
19 value: '#636e72'
20 },
21 shape:{
22 type: 'circle',
23 stroke: {
24 width: 0
25 },
26 polygon:{
27 nb_sides: 6
28 }
29 },
30 line_linked: {
31 enable: false,
32 distance: 150,
33 opacity: 0.9,
34 width: 1,
35 shadow: {
36 enable: true,
37 color: "#e74c3c",
38 blur: 5
39 }
40 },
41 move:{
42 enable: true,
43 random: true,
44 speed: .6,
45 attract:{
46 rotateX: 600,
47 rotateY: 1200
48 }
49 },
50 size: {
51 value: 4,
52 random: true,
53 anim:{
54 speed: 40,
55 size_min: 0.1
56 }
57 },
58 opacity: {
59 value: 0.8,
60 anim: {
61 speed: 1,
62 opacity_min: 0.1

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected