Skip to content

Add point-cloud-driven fluid visuals - #3

Merged
Lyptik merged 9 commits into
mainfrom
feat/point-cloud-fluid
Oct 2, 2026
Merged

Lyptik merged 9 commits into
mainfrom
feat/point-cloud-fluid

Conversation

@Lyptik

@Lyptik Lyptik commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a GPU fluid layer inspired by Pavel Dobryakov's WebGL Fluid Simulation while keeping the current WebDemo / Three.js base intact.

Behavior

  • current point-cloud samples continuously seed the fluid dye field
  • cluster velocity pushes the fluid in the tracked motion direction
  • local point offsets add a subtle swirl around the body/object shape
  • the original point cloud is drawn on top, so the tracked silhouette stays readable
  • fluid is composited with a screen blend behind points/bounds/labels
  • fluid naturally dissipates when tracking disappears
  • WebGL2/float-buffer support is detected; existing visuals remain the fallback

UI

  • new Fluid field toggle
  • Fluid response: Soft / Balanced / Expressive
  • settings persist with the other Visuals preferences
  • version bumped to 0.2.0

Maintenance

  • fluid solver isolated in src/fluid.js
  • no changes to connection, setup parsing, sidebar behavior or the Three.js viewer
  • MIT attribution added to THIRD_PARTY_LICENSES

@Lyptik
Lyptik merged commit 1d6aae5 into main Oct 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant