LiquidProgress - Liquid progress within any image.

LiquidProgress
Liquid progress within any image.

GIF_20250406_043939_618

Progress is shifted sideways by a motion sensor based on the device's orientation, and shaking it creates a very short sine wave.


LoadImage

Load image from assets and prepare grayscale version.

The image is converted to grayscale and then colored back to its original color by calling LiquidProgress.


LiquidProgress

Set the progress (0.0 to 1.0).

The default value is 0.0 to 1.0, but you can multiply by 100 if you want to use a value between 0 and 100.

I've included the example in the aia project.


ProgressCompleted

Triggered when the liquid progress reaches 100% (1.0).


v1.0 Abr 06, 2025.

LiquidProgress.aia (37.7 KB)

joejsanz.joedevliquidprogress.aix (11.8 KB)


JDK: 11
Minimum API Level: 21
Updated On: 2025-04-06T07:00:00Z

Built using: FAST-CLI v2.8.1


Thanks.

8 Likes

Very funny extension !

1 Like

Is this extension loading images only from assets?

You can also use URLs, but for some reason if you use more than one, the progress looks weird, but using just one URL is fine.

https://png.pngtree.com/png-clipart/20221019/original/pngtree-whatsapp-icon-png-image_8704827.png

1 Like