Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Tween.js

60 views
Skip to first unread message

Brett Gaylor

unread,
Dec 13, 2012, 12:24:26 AM12/13/12
to Popcorn Dev, scott@mozillafoundation.org Downe
Scott Downe and Brian Chirls:

Would this help us with Keyframing?
http://createjs.com/#!/TweenJS

---
Brett Gaylor
@remixmanifesto






Scott Downe

unread,
Dec 13, 2012, 12:49:41 PM12/13/12
to Brian Chirls, Brett Gaylor, Popcorn Dev, scott@mozillafoundation.org Downe
Definitely.

Should we go so far as to make a keyframe plugin that basically wraps
tween.js functionality?

I would like to see what a keyframe pluging would need to do, though.
Like, what attributes and options would it have?

On Thu, Dec 13, 2012 at 12:27 AM, Brian Chirls <brian....@gmail.com> wrote:
> The keyframing is already built in to popcorn base. Bits of it are inspired
> by Tween.js. also http://rekapi.com/ which is pretty awesome.
>
> On Dec 13, 2012 12:24 AM, "Brett Gaylor" <br...@mozillafoundation.org>
>> _______________________________________________
>> dev-popcorn mailing list
>> dev-p...@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-popcorn

Brett Gaylor

unread,
Dec 13, 2012, 1:03:09 PM12/13/12
to Brian Chirls, Scott Downe, scott@mozillafoundation.org Downe, Popcorn Dev

On 2012-12-13, at 9:51 AM, Brian Chirls wrote:

> Has anybody ever used the "effect" feature?

no. It is very popcorn.js 0.3 :)

The idea was that you'd be able to patch events through "effects" - so everytime you called the wikipedia plugin, it gave it a specific CSS class etc

---
Brett Gaylor
@remixmanifesto






Scott Downe

unread,
Dec 13, 2012, 1:34:28 PM12/13/12
to Brian Chirls, Brett Gaylor, Popcorn Dev, scott@mozillafoundation.org Downe
I would love to pull out compose and effect. Thoughts?

On Thu, Dec 13, 2012 at 1:14 PM, Brian Chirls <brian....@gmail.com> wrote:
> Didn't think so. I guess that's deprecated then. I assume the same for
> compose. I wonder if they even still work. oh well.
>
> Anyway, Popcorn Base is pretty thorough as far as animation goes. It's well
> documented, with a few simple examples. There are over 30 built-in
> tweening/timing functions, including all the CSS ones, and you can specify
> your own.
>
> The only major restriction is that you need to build a new plugin on top of
> Popcorn Base, rather than working with an existing plugin. But all you have
> to do is include the file and change "Popcorn.plugin" to
> "Popcorn.basePlugin". After that, you can include a single line of code
> ("base.animate()") to animate every CSS style on your plugin's container.
> Additionally, you can animate any other option with a callback function that
> runs on every frame. It supports _update too.
>
> Docs here:
> https://github.com/brianchirls/popcorn-base/#animate-param-options
>
> At some point in the next few weeks, I'm gonna take a stab at building
> Butter editors for these plugins.

Rick Waldron

unread,
Dec 13, 2012, 4:17:36 PM12/13/12
to Scott Downe, Brett Gaylor, Brian Chirls, Popcorn Dev, scott@mozillafoundation.org Downe
On Thu, Dec 13, 2012 at 1:34 PM, Scott Downe <scott...@gmail.com> wrote:

> I would love to pull out compose and effect. Thoughts?
>

+9001

What does userland look like? Is anyone relying on it?

David Humphrey

unread,
Dec 13, 2012, 4:35:20 PM12/13/12
to dev-p...@lists.mozilla.org
I bet we could do them as plugins and not have to continue shipping in
the core. I'm not sure if anyone uses them.

That's the sort of thing a 2.0 could do. Might be good to think about that.

Dave
0 new messages