mirror of
https://github.com/arkorty/DownLink.git
synced 2026-03-18 00:57:15 +00:00
Limit particles to save on resources
This commit is contained in:
@@ -17,7 +17,7 @@ const Background = () => {
|
|||||||
value: "#2c2c2c",
|
value: "#2c2c2c",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
fpsLimit: 120,
|
fpsLimit: 60,
|
||||||
interactivity: {
|
interactivity: {
|
||||||
events: {
|
events: {
|
||||||
onClick: {
|
onClick: {
|
||||||
@@ -33,6 +33,10 @@ const Background = () => {
|
|||||||
modes: {
|
modes: {
|
||||||
push: {
|
push: {
|
||||||
quantity: 4,
|
quantity: 4,
|
||||||
|
limit: 20,
|
||||||
|
},
|
||||||
|
remove: {
|
||||||
|
quantity: 4,
|
||||||
},
|
},
|
||||||
repulse: {
|
repulse: {
|
||||||
distance: 200,
|
distance: 200,
|
||||||
|
|||||||
Reference in New Issue
Block a user