Custom/Masked preloader

I want to make a percentage preloader where the ‘bar’ can take the shape of anything. I’m sure we’ve all seen the kind where a logo ‘fills up’ with the bar. I would love to make one! Any ideas? Thanks!! :red: