Skip to content

Conversation

@kali-shade
Copy link
Contributor

Interactive Deform Effect

Adds an interactive deformation example demonstrating real-time splat manipulation with elastic physics.
Features

Click & Drag: Deform the splat by clicking and dragging directly on it

Elastic Bounce: Realistic bounce-back animation when released using exponential decay

GUI Controls: Adjust deformation strength, radius, and bounce intensity in real-time

Camera Controls: A/D to rotate, W/S to zoom

Technical Details:
Uses dyno.dynoBlock for custom shader-based position modification
Raycasting for precise hit detection on splat geometry
Screen-to-world space conversion for intuitive manipulation
All parameters exposed as dyno uniforms for smooth per-frame updates
Demo uses the penguin splat for interactive "poking" and deformation.

@dmarcos
Copy link
Contributor

dmarcos commented Nov 18, 2025

Thank you!

@dmarcos dmarcos merged commit 937262b into sparkjsdev:main Nov 18, 2025
2 checks 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.

2 participants