[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwin
Subject:    Re: physics-based animator
From:       "Louai Al-Khanji" <louai.khanji () gmail ! com>
Date:       2008-03-17 11:46:02
Message-ID: f4a2642e0803170446h5d46e542l542503e6439a3ba6 () mail ! gmail ! com
[Download RAW message or body]

On Mon, Mar 17, 2008 at 1:30 PM, Sebastian Kuegler <sebas@kde.org> wrote:
> On Monday 17 March 2008 12:16:02 Louai Al-Khanji wrote:
>  > I thought about this last week as well. The idea I had was a class
>  > where you can give the start and target values and duration. You could
>  > then specify a curve type (linear, exponential, etc.) and specify some
>  > parameters that affect the curve shape.
>  >
>  > Just an idea, I might even do something with it.
>
>  Good idea. :)
>
>  For KWin effects, the easiest way to integrate such a thing would be to have a
>  method "valueAtTime()" like QTimeLine has it. Then we can probably port most
>  effects rather easily. Right now, all animation progress is based on a single
>  double, which is then used to calculate position, size and so on.
>
>  I'd love to see such a class that can then be extended with all kinds of curve
>  types, it can probably also be used for plasma, although with a signal-based
>  interface.

This was my thought exactly. Unless someone beats me to it I will
probably look at it later this week.

- Louai
_______________________________________________
Kwin mailing list
Kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic