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

List:       kwin
Subject:    Re: physics-based animator
From:       Sebastian Kuegler <sebas () kde ! org>
Date:       2008-03-17 12:04:07
Message-ID: 200803171304.08084.sebas () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday 17 March 2008 12:46:02 Louai Al-Khanji wrote:
> 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.

Cool. I'll probably not be able to do anything really substantial (other than 
playing around with bits and pieces). If you have some proof-of-concept code, 
I'm happy to try it though. :-)

Cheers,
-- 
sebas

 http://www.kde.org | http://vizZzion.org |  GPG Key ID: 9119 0EF9 

["signature.asc" (application/pgp-signature)]

_______________________________________________
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