[web-animations] Relative Animation is taking over the world

2015-04-19 Thread Kevin Doughty
1. Apologies: My apologies to Brian for asking a bad question at the “Hootenanny” live web chat, but I got really excited to hear about how Web-Animations is modeled after Core Animation. Fortunately the .animate() syntax does look kind of usable, but I am still confused given all of the differen

Re: [web-animations] Relative Animation is taking over the world

2015-05-01 Thread Kevin Doughty
On Fri, Apr 24, 2015 at 6:54 AM, Shane Stephens wrote: > >> 4. Subtraction: >> >> >> I propose the spec require a definition of subtraction for properties in >> 4.1.2. Procedures for animating properties. I also propose the spec require >> the definition of zero for properties. This is of course

Re: [web-animations] Freeing up forwards-filling Animation objects

2015-11-21 Thread Kevin Doughty
https://developer.apple.com/library/mac/documentation/GraphicsImaging/Reference/CALayer_class/index.html#//apple_ref/occ/instm/CALayer/addAnimation:forKey : On Thu, Nov 19, 2015 at 2:08 AM, Brian Birtles wrote: > Hi, > > We have a difficulty in Web Animations with regards to object lifetimes > f

Re: [web-animations] Freeing up forwards-filling Animation objects

2015-11-21 Thread Kevin Doughty
Of course the link doesn't work. addAnimation:forKey: On Sat, Nov 21, 2015 at 4:58 PM, Kevin Doughty wrote: > > https://developer.apple.com/library/mac/documentation/GraphicsImaging/Reference/CALayer_class/index.html#//apple_ref/occ/instm/CALayer/addAnimation:forKey > : > >

Re: [web-animations] Freeing up forwards-filling Animation objects

2015-11-24 Thread Kevin Doughty
element.animate(animation [, name]); element.animate(effect, timing [, name]); This would permit usage patterns that avoid your stated problems, and would not break existing code. Just add a third argument. It would still be possible to add forward filling animations with an undefined name. This

Re: [web-animations] Fixing getAnimations()

2015-11-29 Thread Kevin Doughty
Why is there a distinction between CSS transitionProperty and CSS animationName and script based animation id? Why are these three not one and the same? I do want a way to access all animations vs. a single keyed accessor. Something like getAnimations() and getAnimationNamed(). But how about you le

Re: [web-animations] Fixing getAnimations()

2015-11-29 Thread Kevin Doughty
aming” with values “exact”, “none”, and “increment”, but I concede it is awkward. An alternate to allow multiple animations with the same name, returned in an array, would be even worse. On Sun, Nov 29, 2015 at 4:31 PM, Kevin Doughty wrote: > Why is there a distinction between CSS transition

Re: [web-animations] Freeing up forwards-filling Animation objects

2015-11-29 Thread Kevin Doughty
atever you want to call it, maybe “smoothing” or “dampening”) is something that I’ve suggested before. But that was a lost cause a long time ago. On Wed, Nov 25, 2015 at 2:38 AM, Brian Birtles wrote: > Hi Kevin, > > Thanks for your mail. > > On 2015/11/25 13:52, Kevin Do

Javascript properties and Houdini types

2015-11-29 Thread Kevin Doughty
I would like to animate arbitrary properties of Javascript objects. I find Houdini Properties and Values to be really compelling, and would like to be able to trigger animations of non-CSS properties using something similar to the apply function. I envision Object.defineProperty as a possible place

Re: Javascript properties and Houdini types

2015-11-30 Thread Kevin Doughty
tationLayer(myObject); On Sun, Nov 29, 2015 at 7:25 PM, Kevin Doughty wrote: > I would like to animate arbitrary properties of Javascript objects. I find > Houdini Properties and Values to be really compelling, and would like to be > able to trigger animations of non-CSS properties