https://github.com/positlabs/spark-liquefy
Photoshop's liquefy filter in Meta Spark
https://github.com/positlabs/spark-liquefy
distortion shaders
Last synced: about 2 months ago
JSON representation
Photoshop's liquefy filter in Meta Spark
- Host: GitHub
- URL: https://github.com/positlabs/spark-liquefy
- Owner: positlabs
- License: mit
- Created: 2023-01-04T21:32:47.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-11T15:42:46.000Z (over 2 years ago)
- Last Synced: 2024-10-19T07:14:32.372Z (7 months ago)
- Topics: distortion, shaders
- Homepage:
- Size: 1.07 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Meta Spark Liquefy
This effect is like the liquefy filter in Photoshop. It lets the user smudge the camera texture by swiping their finger on the screen.

[Demo video](https://youtu.be/3UbakQ7MHEw)
There are slider controls in the patch editor so you can easily adjust the parameters to fit your project.

Brush controls include size, hardness, and opacity. It makes smooth strokes even with fast movements, using an [SDF line segment](https://www.shadertoy.com/view/Wlfyzl) by Inigo Quilez. [Brush Demo](https://www.youtube.com/watch?v=ThGGqbRPysY&ab_channel=JoshBeckwith)
Decay will slowly return the distortion back to normal.
And of course the distortion slider controls the strength of the distortion.
## Inspiration
From Fabrice Neyret: https://www.shadertoy.com/view/sdjyRV
## Donations
If you used this in client projects, or simply enjoyed making effects with my open-source projects, please consider a donation or sponsorship. One-time donations can be made with PayPal. Subscriptions can be through PayPal or Github Sponsors (click the heart sponsor button at the top of the page).
[](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YGS69CHAE9EQC&source=url)