question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Polygon Mask Inside Particles Become Stuck

See original GitHub issue

Which version are you using? 1.18.0

Is the latest version affected?

  • Yes
  • No

Which library are you using?

  • Vanilla JS (tsparticles)
  • React (react-tsparticles)
  • Vue.js 2.x (particles.vue)
  • Vue.js 3.x (particles.vue3)
  • Angular (ng-particles)
  • Svelte (svelte-particles)
  • Preact (preact-particles)
  • Inferno (inferno-particles)
  • jQuery (jquery-particles)

Describe the bug Particles can become stuck to the path and even sometimes escape beyond the path becoming trapped on the outside of it

To Reproduce Steps to reproduce the behavior:

  1. Add SVG Polygon Mask to config
  2. Configure to contain particles inside of path

Expected behavior Particles should bounce off the path smoothly and not become stuck and / or escape the path

Screenshots https://i.gyazo.com/94a01938a9b6cf85fb0e496dcc4a5ee6.mp4

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 88

Additional context This issue is even more noticeable when using symbols instead of circle shapes.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
matteobrunicommented, May 10, 2021

I think it’s possible. I started a new feature but I splitted it from that branch so it can be released later.

1reaction
matteobrunicommented, May 5, 2021

I hope to release it in some days, I just need to find the formula for adjusting particles that went outside instead of bouncing and it’s done.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Polygon Mask bounce back inline is not working #1256 - GitHub
PolygonMask with inline configuration is breaking with the repulse mouse event, ... Polygon Mask Inside Particles Become Stuck #1269.
Read more >
Effectiveness of Common Fabrics to Block Aqueous Aerosols ...
In practical terms, dense fabric masks do not transmit nanoparticles into a mask, such as virus particles, without active respiration or permeating air ......
Read more >
What's inside all those masks? - The Washington Post
While polyester materials are woven in consistent patterns, cotton flannel's fibers look chaotic beneath a microscope. The researchers think ...
Read more >
Fill OUTSIDE of polygon | Mask array where indicies are ...
All I am really needing to do is mask out numbers in a 2d array that are located beyond this boundary of the...
Read more >
X-particles Cinema 4D Tutorial - YouTube
In this video, I will show you how to make an Animation using X- particles and Cinema 4D. ***** Get Pro X- Particle...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found