[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 13:21:11
Message-ID: f4a2642e0803170621i20fd1c28r77b4d8f8fb05ca95 () mail ! gmail ! com
[Download RAW message or body]
On Mon, Mar 17, 2008 at 2:04 PM, Sebastian Kuegler <sebas@kde.org> wrote:
>
> 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,
>
I don't have anything now but I'll keep you posted =)
- Louai
>
> --
> sebas
>
> http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
>
> _______________________________________________
> Kwin mailing list
> Kwin@kde.org
> https://mail.kde.org/mailman/listinfo/kwin
>
>
_______________________________________________
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