Adding a progress bar to an animation

17 views
Skip to first unread message

S Kolo

unread,
Aug 13, 2025, 6:58:33 PMAug 13
to australian-qg...@googlegroups.com
An easter egg I thought I'd share (as it took me a bit to get my head around).

For context - This is for the Temporal Controller and handy for exporting out to individual images that can be stacked to form an animation.

I toyed for a while and eventually figured out how to add a Progress Bar at the bottom

A map with a road and a city

AI-generated content may be incorrect.

This is part of the Copyright label decoration

Setup a copyright label (footer)

A screenshot of a computer

AI-generated content may be incorrect.

Create an expression

Use image.png

And paste the following

concat ('Progress: ',

repeat('', floor(@frame_number * 30 / (@total_frame_count - 1))),

repeat('', 30 - floor(@frame_number * 30 / (@total_frame_count - 1))),

' ', round(@frame_number * 100 / (@total_frame_count - 1)), '%')


This sets a background character of ░ and then uses the ▓ character to show progress. The bar is 30 characters long. You could vary this length if desired (within reason).


Its quite cool I think.


Cheers,

Shaun

Andrew Jeffrey

unread,
Aug 13, 2025, 7:02:47 PMAug 13
to australian-qg...@googlegroups.com
That's clever Shaun! Really cool.

--
You received this message because you are subscribed to the Google Groups "QGIS Australia User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to australian-qgis-use...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/australian-qgis-user-group/CAFdWxpUWLLQYuGWXvksJOEBSmzzydqE4rOU9MC7Fb25KMLnLgA%40mail.gmail.com.

Ewen Hill

unread,
Aug 15, 2025, 3:22:51 AMAug 15
to australian-qg...@googlegroups.com

Emma Hain

unread,
Aug 17, 2025, 7:57:01 PMAug 17
to australian-qg...@googlegroups.com
Brill - thanks Shaun!

Kind regards
Em

Emma Hain — Product Manager/Senior GIS Analyst
em...@north-road.com
https://north-road.com North Road
Cartography • Development • Spatial Analysis


north-road.com

FOSS4G 2025
17-23 November, Auckland, New Zealand



Reply all
Reply to author
Forward
0 new messages