An open API service indexing awesome lists of open source software.

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

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.

![screenshot](./spark-liquefy.jpg)

[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.

![controls](./controls.jpg)

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.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YGS69CHAE9EQC&source=url)