Skip to content
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

Fluid output #208

Open
4 tasks done
matteobruni opened this issue Apr 3, 2020 · 5 comments
Open
4 tasks done

Fluid output #208

matteobruni opened this issue Apr 3, 2020 · 5 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request feature_request Hacktoberfest help wanted Extra attention is needed no-issue-activity pinned Pinned issues plugin A feature that could become a plugin sweep Assigns Sweep to an issue or pull request. up-for-grabs

Comments

@matteobruni
Copy link
Collaborator

matteobruni commented Apr 3, 2020

I've seen this codepen https://codepen.io/matteobruni/pen/mdJYMQM and I think it's something portable here

This can be a plugin, having it's own fluid options, that can be enabled toggling a fluid-like movement instead of void-like movement.

Checklist
  • engine/src/Plugins/FluidPlugin.ts ✅ Commit e15a569
• Import the necessary dependencies. • Define the FluidPlugin class. • Implement the logic for the fluid-like movement in the FluidPlugin class. • Export the FluidPlugin class.
Sandbox Execution Logs
trunk init 1/16 ✓
⡿ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
✔ Downloading Trunk 1.15.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done













































✔ 14 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  checkov 2.4.9 (759 json, 15 yaml files)
  git-diff-check (2430 files)
  markdownlint 0.36.0 (221 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (1 lockfile file)
  oxipng 8.0.0 (35 png files)
  prettier 3.0.3 (4 html, 178 javascript, 759 json, 221 markdown, 1 prettier_supported_configs, 2 sass, 865 typescript, 14 yaml files)
  renovate 36.93.7 (2 renovate-config files)
  shellcheck 0.9.0 (1 shell file) (created .shellcheckrc)
  shfmt 3.6.0 (1 shell file)
  svgo 3.0.2 (11 svg files) (created svgo.config.js)
  trivy 0.45.0 (1 lockfile, 14 yaml files)
  trufflehog 3.56.0 (2431 files)
  yamllint 1.32.0 (14 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt engine/src/Plugins/FluidPlugin.ts 2/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/eBaIJ.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 3/16 ❌ (`1`)


  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/3EpSO.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 4/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/6aM3T.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 5/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/zr9hD.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 6/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/FriU4.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 7/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/HtpeC.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 8/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/BezLn.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 9/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/TcJ17.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 10/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/MESrk.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 11/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/X9oF2.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 12/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/Zf4QJ.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 13/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/Nygup.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 14/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/uUc0V.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 15/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/xFCfL.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 16/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/eg7KO.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
  • engine/src/Options/Interfaces/IOptions.ts ✅ Commit 4d3e7ec
• Import the FluidOptions interface. • Add a new property 'fluid' of type FluidOptions to the IOptions interface.
Sandbox Execution Logs
trunk init 1/16 ✓
⡿ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
✔ Downloading Trunk 1.15.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done



















































































✔ 14 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  checkov 2.4.9 (759 json, 15 yaml files)
  git-diff-check (2429 files)
  markdownlint 0.36.0 (221 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (1 lockfile file)
  oxipng 8.0.0 (35 png files)
  prettier 3.0.3 (4 html, 178 javascript, 759 json, 221 markdown, 1 prettier_supported_configs, 2 sass, 864 typescript, 14 yaml files)
  renovate 36.93.7 (2 renovate-config files)
  shellcheck 0.9.0 (1 shell file) (created .shellcheckrc)
  shfmt 3.6.0 (1 shell file)
  svgo 3.0.2 (11 svg files) (created svgo.config.js)
  trivy 0.45.0 (1 lockfile, 14 yaml files)
  trufflehog 3.56.0 (2430 files)
  yamllint 1.32.0 (14 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt engine/src/Options/Interfaces/IOptions.ts 2/16 ❌ (`1`)





  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/fNrvR.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 3/16 ❌ (`1`)


  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/hwEUr.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 4/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/AYqYt.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 5/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/aGxbz.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 6/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/RWXa3.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 7/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/yk4ld.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 8/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/nCIaq.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 9/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/RXDOK.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 10/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/4Gv9P.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 11/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/GRDoa.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 12/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/5echT.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 13/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/iIJR3.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 14/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/LesY8.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 15/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/BaMEz.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 16/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/8cYBL.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
  • engine/src/Options/Interfaces/FluidOptions.ts ✅ Commit f165f0f
• Define the FluidOptions interface. • Add properties to the FluidOptions interface that control the behavior of the fluid-like movement. • Export the FluidOptions interface.
Sandbox Execution Logs
trunk init 1/16 ✓
⡿ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
✔ Downloading Trunk 1.15.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done














































✔ 14 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  checkov 2.4.9 (759 json, 15 yaml files)
  git-diff-check (2430 files)
  markdownlint 0.36.0 (221 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (1 lockfile file)
  oxipng 8.0.0 (35 png files)
  prettier 3.0.3 (4 html, 178 javascript, 759 json, 221 markdown, 1 prettier_supported_configs, 2 sass, 865 typescript, 14 yaml files)
  renovate 36.93.7 (2 renovate-config files)
  shellcheck 0.9.0 (1 shell file) (created .shellcheckrc)
  shfmt 3.6.0 (1 shell file)
  svgo 3.0.2 (11 svg files) (created svgo.config.js)
  trivy 0.45.0 (1 lockfile, 14 yaml files)
  trufflehog 3.56.0 (2431 files)
  yamllint 1.32.0 (14 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 2/16 ❌ (`1`)

  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/c9VOS.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 3/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/9iTLr.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 4/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/58wvc.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 5/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/poGpJ.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 6/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/FzzLW.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 7/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/bhZU3.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 8/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/Gy7Qp.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 9/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/4MCWu.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 10/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/kV7W2.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 11/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/6Sbmv.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 12/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/c231P.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 13/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/KzjQ7.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 14/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/2sDoL.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 15/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/Xsg9u.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 16/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/wMuFS.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
  • engine/scripts/install.js ✅ Commit 6a4c4a1
• Import the FluidPlugin. • Add the FluidPlugin to the list of installed plugins.
Sandbox Execution Logs
trunk init 1/16 ✓
⡿ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
✔ Downloading Trunk 1.15.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done
























































✔ 14 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  checkov 2.4.9 (759 json, 15 yaml files)
  git-diff-check (2429 files)
  markdownlint 0.36.0 (221 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (1 lockfile file)
  oxipng 8.0.0 (35 png files)
  prettier 3.0.3 (4 html, 178 javascript, 759 json, 221 markdown, 1 prettier_supported_configs, 2 sass, 864 typescript, 14 yaml files)
  renovate 36.93.7 (2 renovate-config files)
  shellcheck 0.9.0 (1 shell file) (created .shellcheckrc)
  shfmt 3.6.0 (1 shell file)
  svgo 3.0.2 (11 svg files) (created svgo.config.js)
  trivy 0.45.0 (1 lockfile, 14 yaml files)
  trufflehog 3.56.0 (2430 files)
  yamllint 1.32.0 (14 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt engine/scripts/install.js 2/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/duTqK.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 3/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/8Aww1.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 4/16 ❌ (`1`)






  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/to2A9.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 5/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/yPcOn.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 6/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/XyZiW.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 7/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/aDkAt.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 8/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/Cau7r.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 9/16 ❌ (`1`)


  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/MUlWb.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 10/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/xS5qH.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 11/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/ZdxPJ.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 12/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/kQPOl.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 13/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/iaR6M.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 14/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/zgMLh.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 15/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/RaMNR.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 16/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/NzIr5.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
@matteobruni matteobruni added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed up-for-grabs labels Apr 3, 2020
@matteobruni matteobruni added this to the 1.14.0 milestone Apr 27, 2020
@matteobruni matteobruni added this to To do in High Priority Apr 28, 2020
@matteobruni matteobruni added this to To do in Standard Priority via automation Apr 28, 2020
@matteobruni matteobruni removed this from To do in High Priority Apr 28, 2020
@matteobruni matteobruni modified the milestones: 1.14.0, 2.0.0 May 9, 2020
@matteobruni matteobruni removed this from To do in Standard Priority May 21, 2020
@matteobruni matteobruni added the plugin A feature that could become a plugin label Jul 7, 2020
@matteobruni matteobruni added the pinned Pinned issues label Aug 2, 2020
@matteobruni
Copy link
Collaborator Author

This is a theory similar to the one used in the sample: https://peeke.nl/simulating-blobs-of-fluid

@matteobruni matteobruni pinned this issue Sep 27, 2020
@matteobruni matteobruni unpinned this issue Sep 28, 2020
@ankitaugale23
Copy link

I would like to work on this issue but it would be so nice of you if you elaborate what specifically I have to do.

@matteobruni
Copy link
Collaborator Author

Nice @ankitaugale23,

I'd like to have particles that can act like fluid particles, creating an effect like the one in the sample linked in the issue description.

Actually, when you enable collisions and gravity (dev branch has those features) they start flattening to the bottom instead of stopping if there are particles below them. So you'll end up with all particles in a single line instead of filling up all the available space like a fluid.

I think the problem is in the particles collision calculation when the gravity is applied but I'm not sure.

@github-actions
Copy link

Stale issue message

@matteobruni matteobruni reopened this Jan 19, 2021
@matteobruni matteobruni reopened this Jan 27, 2021
@github-actions github-actions bot closed this as completed Feb 4, 2021
@matteobruni matteobruni reopened this Feb 4, 2021
@matteobruni matteobruni reopened this Feb 12, 2021
@matteobruni matteobruni reopened this Feb 20, 2021
@matteobruni matteobruni reopened this Feb 28, 2021
@github-actions github-actions bot closed this as completed Mar 8, 2021
@matteobruni matteobruni reopened this Mar 8, 2021
@matteobruni matteobruni reopened this Mar 16, 2021
@matteobruni matteobruni removed the Core label May 15, 2023
@matteobruni matteobruni added the sweep Assigns Sweep to an issue or pull request. label Sep 18, 2023
@sweep-ai
Copy link

sweep-ai bot commented Sep 18, 2023

Here's the PR! #5214.

⚡ Sweep Free Trial: I used GPT-3.5 to create this ticket. You have 1 GPT-4 tickets left for the month and 0 for the day. For more GPT-4 tickets, visit our payment portal.


Actions (click)

  • Restart Sweep

Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I looked at (click to expand). If some file is missing from here, you can mention the path in the ticket description.

const path = require("path");
const particlesJsFoundError = "particles.js-found";
const reactParticlesJsFoundError = "react-particles-js-found";
try {
console.log("Thank you for installing tsParticles.");
console.log("Remember to checkout the official website https://particles.js.org to explore some samples.");
console.log("You can find more samples on CodePen too: https://codepen.io/collection/DPOage");
console.log("If you need documentation you can find it here: https://particles.js.org/docs");
console.log(
"Don't forget to star the tsParticles repository, if you like the project and want to support it: https://github.com/matteobruni/tsparticles"
);
const pkgSettings = require(path.join(process.env.INIT_CWD, "package.json"));
if (!pkgSettings) {
return;
}
const dependencies = pkgSettings.dependencies;
if (!dependencies) {
return;
}
if (dependencies["particles.js"]) {
console.error(
"\x1b[31m%s\x1b[0m",
"The package particles.js can't be installed with tsparticles, since it can lead to unexpected behaviors, please uninstall particles.js and remove it from the package.json file."
);
throw new Error(reactParticlesJsFoundError);
}
if (dependencies["particlesjs"]) {
console.error(
"\x1b[31m%s\x1b[0m",
"The package particlesjs can't be installed with tsparticles, since it can lead to unexpected behaviors, please uninstall particlesjs and remove it from the package.json file."
);
throw new Error(reactParticlesJsFoundError);
}
if (dependencies["react-particles-js"]) {
console.error(
"\x1b[31m%s\x1b[0m",
"The package react-particles-js has been deprecated and is not supported anymore."
);
console.error("\x1b[31m%s\x1b[0m", "Please consider switching to react-particles package.");
console.error(
"\x1b[31m%s\x1b[0m",
"This error will be fixed once react-particles-js is removed from the package.json file."
);
throw new Error(reactParticlesJsFoundError);
}
if (dependencies["react"] || dependencies["next"]) {
if (!dependencies["react-particles"]) {
console.warn(
"\x1b[43m\x1b[30m%s\x1b[0m",
"Found React installed. Please download react-particles to use tsParticles with a component ready to use and easier to configure."
);
console.log(
"You can read more about the component here: https://github.com/matteobruni/tsparticles/blob/main/components/react/README.md"
);
}
}
if (dependencies["@angular/core"]) {
if (!dependencies["ng-particles"]) {
console.warn(
"\x1b[43m\x1b[30m%s\x1b[0m",
"Found Angular installed. Please download ng-particles to use tsParticles with a component ready to use and easier to configure."
);
console.log("You can read more about the component here: https://github.com/tsparticles/angular/#readme");
}
}

// eslint-disable-next-line @typescript-eslint/no-unused-vars
import type { Container } from "../../Core/Container";
import type { IBackground } from "./Background/IBackground";
import type { IBackgroundMask } from "./BackgroundMask/IBackgroundMask";
import type { IFullScreen } from "./FullScreen/IFullScreen";
import type { IInteractivity } from "./Interactivity/IInteractivity";
import type { IManualParticle } from "./IManualParticle";
import type { IParticlesOptions } from "./Particles/IParticlesOptions";
import type { IResponsive } from "./IResponsive";
import type { ITheme } from "./Theme/ITheme";
import type { RangeValue } from "../../Types/RangeValue";
import type { RecursivePartial } from "../../Types/RecursivePartial";
import type { SingleOrMultiple } from "../../Types/SingleOrMultiple";
/**
* The Options interface, defines all the options that can be used by `tsParticles`
* [[include:Options.md]]
*/
export interface IOptions {
/**
* More custom options for external plugins or customizations
*/
[name: string]: unknown;
/**
* Sets if the animations should start automatically or manually
*/
autoPlay: boolean;
/**
* Background options, these background options will be used to the canvas element, they are all CSS properties
*/
background: IBackground;
/**
* Background Mask options, what's behind the canvas will become hidden and particles will uncover it
*/
backgroundMask: IBackgroundMask;
/**
* Sets the animated background mode for particles canvas bringing it to the back
* @deprecated use the new fullScreen instead
*/
backgroundMode: RecursivePartial<IFullScreen> | boolean;
/**
* The initial delay before starting the animation
*/
delay: RangeValue;
/**
* Enables the retina detection, if disabled the ratio used by canvas will be always 1 and not the device setting.
*/
detectRetina: boolean;
/**
* The Particles effect duration in seconds, then the container will be destroyed
*/
duration: RangeValue;
/**
* The FPS (Frame Per Second) limit applied to all particles animations.
*/
fpsLimit: number;
/**
* The Frame Per Second limit applied to all particles animations.
* @deprecated use the new fpsLimit instead
*/
fps_limit: number;
/**
* Sets the animated background mode for particles canvas bringing it to the back
*/
fullScreen: RecursivePartial<IFullScreen> | boolean;
/**
* The particles interaction options
*/
interactivity: IInteractivity;
/**
* Particles inserted at load time with a specific position
*/
manualParticles: IManualParticle[];
name?: string;
/**
* The particles options
*/
particles: IParticlesOptions;
/**
* Enables or disabled the animation on window blur
*/
pauseOnBlur: boolean;
/**
* Enable or disabled the animation if the element is outside the viewport
*/
pauseOnOutsideViewport: boolean;
/**
* This property will be used to add specified presets to the options
*/
preset?: SingleOrMultiple<string>;
/**
* This sets custom options based on canvas size
*/
responsive: IResponsive[];
/**
* Enables the retina detection, if disabled the ratio used by canvas will be always 1 and not the device setting.
* @deprecated use the new detectRetina instead
*/
retina_detect: boolean;
/**
* Enables a smooth effect, by default it's disabled
* When enabled the animation will speed up or slow down depending on fps
* The {@link IOptions.fpsLimit} field will be used as a reference for the animation speed
* Some examples:
* - with a {@link IOptions.fpsLimit} of 60 the animation will be twice faster on 120 fps devices
* - with a {@link IOptions.fpsLimit} of 120 the animation will be twice slower on 60 fps devices
* The animation will be always smooth, but the behavior could be affected by the user screen refresh rate
* It's recommended to keep this disabled, be careful.
*/
smooth: boolean;
style: RecursivePartial<CSSStyleDeclaration>;
/**
* User-defined themes that can be retrieved by the particles {@link Container}
*/
themes: ITheme[];
/**
* The maximum layers used in the z-axis
*/
zLayers: number;

I also found the following external resources that might be helpful:

Summaries of links found in the content:

https://codepen.io/matteobruni/pen/mdJYMQM:

The page titled "Just a moment..." requires JavaScript and cookies to be enabled in order to continue. It does not provide any code snippets or information relevant to the problem mentioned by the user.


Step 2: ⌨️ Coding

  • engine/src/Plugins/FluidPlugin.ts ✅ Commit e15a569
• Import the necessary dependencies. • Define the FluidPlugin class. • Implement the logic for the fluid-like movement in the FluidPlugin class. • Export the FluidPlugin class.
Sandbox Execution Logs
trunk init 1/16 ✓
⡿ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
✔ Downloading Trunk 1.15.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done













































✔ 14 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  checkov 2.4.9 (759 json, 15 yaml files)
  git-diff-check (2430 files)
  markdownlint 0.36.0 (221 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (1 lockfile file)
  oxipng 8.0.0 (35 png files)
  prettier 3.0.3 (4 html, 178 javascript, 759 json, 221 markdown, 1 prettier_supported_configs, 2 sass, 865 typescript, 14 yaml files)
  renovate 36.93.7 (2 renovate-config files)
  shellcheck 0.9.0 (1 shell file) (created .shellcheckrc)
  shfmt 3.6.0 (1 shell file)
  svgo 3.0.2 (11 svg files) (created svgo.config.js)
  trivy 0.45.0 (1 lockfile, 14 yaml files)
  trufflehog 3.56.0 (2431 files)
  yamllint 1.32.0 (14 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt engine/src/Plugins/FluidPlugin.ts 2/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/eBaIJ.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 3/16 ❌ (`1`)


  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/3EpSO.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 4/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/6aM3T.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 5/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/zr9hD.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 6/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/FriU4.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 7/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/HtpeC.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 8/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/BezLn.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 9/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/TcJ17.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 10/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/MESrk.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 11/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/X9oF2.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 12/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/Zf4QJ.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 13/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/Nygup.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 14/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/uUc0V.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 15/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/xFCfL.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Plugins/FluidPlugin.ts 16/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Plugins/FluidPlugin.ts  .trunk/out/eg7KO.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
  • engine/src/Options/Interfaces/IOptions.ts ✅ Commit 4d3e7ec
• Import the FluidOptions interface. • Add a new property 'fluid' of type FluidOptions to the IOptions interface.
Sandbox Execution Logs
trunk init 1/16 ✓
⡿ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
✔ Downloading Trunk 1.15.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done



















































































✔ 14 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  checkov 2.4.9 (759 json, 15 yaml files)
  git-diff-check (2429 files)
  markdownlint 0.36.0 (221 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (1 lockfile file)
  oxipng 8.0.0 (35 png files)
  prettier 3.0.3 (4 html, 178 javascript, 759 json, 221 markdown, 1 prettier_supported_configs, 2 sass, 864 typescript, 14 yaml files)
  renovate 36.93.7 (2 renovate-config files)
  shellcheck 0.9.0 (1 shell file) (created .shellcheckrc)
  shfmt 3.6.0 (1 shell file)
  svgo 3.0.2 (11 svg files) (created svgo.config.js)
  trivy 0.45.0 (1 lockfile, 14 yaml files)
  trufflehog 3.56.0 (2430 files)
  yamllint 1.32.0 (14 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt engine/src/Options/Interfaces/IOptions.ts 2/16 ❌ (`1`)





  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/fNrvR.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 3/16 ❌ (`1`)


  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/hwEUr.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 4/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/AYqYt.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 5/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/aGxbz.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 6/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/RWXa3.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 7/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/yk4ld.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 8/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/nCIaq.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 9/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/RXDOK.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 10/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/4Gv9P.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 11/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/GRDoa.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 12/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/5echT.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 13/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/iIJR3.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 14/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/LesY8.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 15/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/BaMEz.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/IOptions.ts 16/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/IOptions.ts  .trunk/out/8cYBL.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
  • engine/src/Options/Interfaces/FluidOptions.ts ✅ Commit f165f0f
• Define the FluidOptions interface. • Add properties to the FluidOptions interface that control the behavior of the fluid-like movement. • Export the FluidOptions interface.
Sandbox Execution Logs
trunk init 1/16 ✓
⡿ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
✔ Downloading Trunk 1.15.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done














































✔ 14 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  checkov 2.4.9 (759 json, 15 yaml files)
  git-diff-check (2430 files)
  markdownlint 0.36.0 (221 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (1 lockfile file)
  oxipng 8.0.0 (35 png files)
  prettier 3.0.3 (4 html, 178 javascript, 759 json, 221 markdown, 1 prettier_supported_configs, 2 sass, 865 typescript, 14 yaml files)
  renovate 36.93.7 (2 renovate-config files)
  shellcheck 0.9.0 (1 shell file) (created .shellcheckrc)
  shfmt 3.6.0 (1 shell file)
  svgo 3.0.2 (11 svg files) (created svgo.config.js)
  trivy 0.45.0 (1 lockfile, 14 yaml files)
  trufflehog 3.56.0 (2431 files)
  yamllint 1.32.0 (14 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 2/16 ❌ (`1`)

  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/c9VOS.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 3/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/9iTLr.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 4/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/58wvc.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 5/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/poGpJ.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 6/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/FzzLW.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 7/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/bhZU3.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 8/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/Gy7Qp.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 9/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/4MCWu.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 10/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/kV7W2.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 11/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/6Sbmv.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 12/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/c231P.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 13/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/KzjQ7.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 14/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/2sDoL.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 15/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/Xsg9u.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/src/Options/Interfaces/FluidOptions.ts 16/16 ❌ (`1`)
  FAILURES  
 prettier  engine/src/Options/Interfaces/FluidOptions.ts  .trunk/out/wMuFS.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
  • engine/scripts/install.js ✅ Commit 6a4c4a1
• Import the FluidPlugin. • Add the FluidPlugin to the list of installed plugins.
Sandbox Execution Logs
trunk init 1/16 ✓
⡿ Downloading Trunk 1.15.0...
⡿ Downloading Trunk 1.15.0...
⢿ Downloading Trunk 1.15.0...
⣻ Downloading Trunk 1.15.0...
⣽ Downloading Trunk 1.15.0...
⣾ Downloading Trunk 1.15.0...
⣷ Downloading Trunk 1.15.0...
✔ Downloading Trunk 1.15.0... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done
























































✔ 14 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.25 (5 github-workflow files)
  checkov 2.4.9 (759 json, 15 yaml files)
  git-diff-check (2429 files)
  markdownlint 0.36.0 (221 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.0 (1 lockfile file)
  oxipng 8.0.0 (35 png files)
  prettier 3.0.3 (4 html, 178 javascript, 759 json, 221 markdown, 1 prettier_supported_configs, 2 sass, 864 typescript, 14 yaml files)
  renovate 36.93.7 (2 renovate-config files)
  shellcheck 0.9.0 (1 shell file) (created .shellcheckrc)
  shfmt 3.6.0 (1 shell file)
  svgo 3.0.2 (11 svg files) (created svgo.config.js)
  trivy 0.45.0 (1 lockfile, 14 yaml files)
  trufflehog 3.56.0 (2430 files)
  yamllint 1.32.0 (14 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt engine/scripts/install.js 2/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/duTqK.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 3/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/8Aww1.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 4/16 ❌ (`1`)






  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/to2A9.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 5/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/yPcOn.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 6/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/XyZiW.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 7/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/aDkAt.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 8/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/Cau7r.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 9/16 ❌ (`1`)


  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/MUlWb.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 10/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/xS5qH.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 11/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/ZdxPJ.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 12/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/kQPOl.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 13/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/iaR6M.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 14/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/zgMLh.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 15/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/RaMNR.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk fmt engine/scripts/install.js 16/16 ❌ (`1`)
  FAILURES  
 prettier  engine/scripts/install.js  .trunk/out/NzIr5.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure

Step 3: 🔁 Code Review

Here are my self-reviews of my changes at sweep/fluid-plugin.

Here is the 1st review

Hi there, great start on the FluidPlugin implementation! However, there are a few changes that need to be made:
  • In FluidPlugin.ts, the methods init, draw, destroy, play, and pause are currently not implemented. They only contain comments indicating where the logic should go. Please implement the logic for these methods. For example, the draw method should contain the logic for the fluid-like movement of the particles.

Keep up the good work!

I finished incorporating these changes.


🎉 Latest improvements to Sweep:


💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request.
Join Our Discord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request feature_request Hacktoberfest help wanted Extra attention is needed no-issue-activity pinned Pinned issues plugin A feature that could become a plugin sweep Assigns Sweep to an issue or pull request. up-for-grabs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants