[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: animated backgrounds



On Thu, 2007-08-16 at 22:01 +0200, Matthias Clasen wrote:
> A while ago Søren Sandmann did some work to support animated
> backgrounds. The use case this feature was designed for is to
> show pictures of the same scene (e.g. a city skyline) over the
> course of the day (say, every 15 minutes), synchronized to the 
> current time. 
> 
> Unfortunately, we didn't ever get around to take such a photo 
> series. But it would be a shame to let this nice feature go 
> unused and eventually bitrot away, so I ported it to the new 
> appearance capplet last night, and I am sending out this email 
> in the hope that maybe some artists will find this interesting 
> enough to come up with some cool animated backgrounds. 
> 
> Here is how it works:
> 
> Instead of a jpeg or png, you create an xml file like the
> following:
> 
> <background>
>   <starttime>1184295694</starttime>
>   <static>
>     <duration>60.0</duration>
>     <file>/path/to/image1</file>
>   </static>	
>   <transition>
>     <duration>30.0</duration>
>     <from>/path/to/image1</from>
>     <to>/path/to/image2</to>
>   </transition>
>   <static>
>     <duration>60.0</duration>
>     <file>/path/to/image2</file>
>   </static>
> </background>
> 
> starttime is the time in seconds since the unix epoch, 
> duration is in seconds. 
> 
> 
> Matthias
> 
> 

Hey, that sounds interesting, we could even make some svg based
wallpapers this way, I am however not sure what the starttime means, and
how it will work for different time zones? If I understand correctly the
starttime is time in seconds since some event in past (unix epoch). But
it would then mean, that if I set the start time to be 0 hour of some
day in US, it will be 12 hour on the opposite side of the Earth and as a
result I will have day at night and night at day in Europe.

Martin

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]