-
-
Notifications
You must be signed in to change notification settings - Fork 800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add FluidPlugin for fluid-like movement #5214
Conversation
GitHub actions yielded the following error. The command that failed is
Please note that some parts of the logs have been truncated for brevity. This is likely a linting or type-checking issue with the source code. Update the code changed by the PR. Don't modify the existing tests. I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR. |
GitHub actions yielded the following error. The command that failed is
This is likely a linting or type-checking issue with the source code. Update the code changed by the PR. Don't modify the existing tests. I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR. |
Description
This PR adds a new FluidPlugin to the tsParticles codebase, which enables a fluid-like movement for the particles. The plugin provides its own fluid options that can be toggled on or off to control the behavior of the fluid-like movement. The implementation is based on the codepen provided by the user.
Summary of Changes
FluidPlugin.ts
toengine/src/Plugins
:FluidPlugin
class.IOptions.ts
inengine/src/Options/Interfaces
:fluid
of typeFluidOptions
to theIOptions
interface.FluidOptions.ts
toengine/src/Options/Interfaces
:FluidOptions
interface with properties to control the behavior of the fluid-like movement.install.js
inengine/scripts
:FluidPlugin
to the list of installed plugins.Please review and merge this PR to incorporate the fluid-like movement feature into tsParticles.
Fixes #208.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: