Share Posted August 19, 2015 We will be adding a new feature to stagger-based tweens that allows you to specify different values for each tween that is generated. You can provide an Array of values or use a function with custom logic that returns a value. We have proposed a few names to our trusted advisers and 2 rose to the top. Please vote! You can see this feature in action here: 9 Link to comment Share on other sites More sharing options...
Share Posted August 19, 2015 Great video tut as usual Carl! I love that you can use alternative easing values to pass as well [hint hint] .. that is like butter churned from a creamy cow Link to comment Share on other sites More sharing options...
Share Posted August 19, 2015 I voted alt at first, but then I watched the video (which was great btw Carl, I love that you didn't edit out the curly-bracket mistake). When you mentioned rule, I kinda thought that fit better as you are defining the rules in which the Tweens should behave. tl;dr: alt or rule, doesn't matter! Its a cool feature! 4 Link to comment Share on other sites More sharing options...
Author Share Posted August 19, 2015 Thanks, Jonathan. I think you mean you can cycle through various easing values Just so folks know, you can use this feature for callbacks (so some tweens might call a different function onComplete) and any other property or special property. 1 Link to comment Share on other sites More sharing options...
Share Posted August 19, 2015 Haha Carl , i like rule too but i always think of the rule set declared in CSS, but that's just me but just to clarify when i think of alt i think of alternative values, not alternate, but like joe_midi said its a cool feature! I almost voted for cycle after hearing you use it in a sentence in the video Carl, .. but i had already voted and was committed Link to comment Share on other sites More sharing options...
Share Posted August 19, 2015 Because these collections of property/values (or a function returning values) are each passed to a method in succession it reminds me a lot of the PHP array_walk function. How about "walk"? Or "loop"? "alt" or "alternate", to me (depending on pronunciation), means flip-flopping between to values or providing a fallback. Link to comment Share on other sites More sharing options...
Share Posted August 19, 2015 Hi, I'm leaning towards cycle, because is what basically this feature does. I agree with Shaun in terms of loop, but loop is already quite used in JS, not as 'loop', but people refers to loops in the form of for, for in, $.each, while, do while, etc. and I believe it would be easier for users to have a more specific word for this like cycle. Finally is kind of sad to see Carl making those mistakes, it basically means that He's just human (insert Matrix agents here) 3 Link to comment Share on other sites More sharing options...
Share Posted August 20, 2015 This is VERY cool. I voted cycle 1 Link to comment Share on other sites More sharing options...
Share Posted August 20, 2015 cycle is kicking alt's booty, i think we might have a winner 1 Link to comment Share on other sites More sharing options...
Author Share Posted August 20, 2015 Wow, alt is getting crushed by cycle. Good job folks. In troubled times my allies shall be remembered fondly. -- Rodrigo, the mistakes were all a ruse to convince people I'm not just another of Jack's wild creations. I fear I've said too much... 1 Link to comment Share on other sites More sharing options...
Share Posted August 20, 2015 Ok Carl, I just became deserter for the losing side and deleted my vote for alt ..and voted for cycle .. touché, good sir 1 Link to comment Share on other sites More sharing options...
Share Posted August 20, 2015 propaganda...! , ok +1cycle 3 Link to comment Share on other sites More sharing options...
Share Posted August 20, 2015 I say cycle, since alt is a html property. 1 Link to comment Share on other sites More sharing options...
Share Posted August 21, 2015 So excited for this feature! When will it be available? 1 Link to comment Share on other sites More sharing options...
Author Share Posted August 21, 2015 This feature will probably not be ready for another week or two. It was a surprise addition to the roadmap for version 1.17.1 and we've got a number of other pressing priorities. We're doing our best to get it out as quickly as we can. Stay tuned! 1 Link to comment Share on other sites More sharing options...
Share Posted August 21, 2015 +1 for cycle from me. Alt seems to be too similar to image alt tag and might be confusing for beginners. Regardless of the final name, this is great addition to the stagger-based tweens. Great job Jack! 3 Link to comment Share on other sites More sharing options...
Share Posted August 21, 2015 +1 for cycle I think cycle is a more suitable word as suggests that the feature can go through a multitude of values, arrays etc. The word alt feels too ambiguous. 1 Link to comment Share on other sites More sharing options...
Share Posted August 21, 2015 Cool + for cycle here! 1 Link to comment Share on other sites More sharing options...
Share Posted August 21, 2015 alt is getting a bum wrap 1 Link to comment Share on other sites More sharing options...
Share Posted August 21, 2015 Wow, the ability to specific random values for an array of values is so exciting. Link to comment Share on other sites More sharing options...
Share Posted August 21, 2015 This feature will probably not be ready for another week or two. It was a surprise addition to the roadmap for version 1.17.1 and we've got a number of other pressing priorities. We're doing our best to get it out as quickly as we can. Stay tuned! carl, is it possible to see you guys development roadmap :) Im sure its not but i thought id ask anyway Link to comment Share on other sites More sharing options...
Author Share Posted August 21, 2015 Hey Dwayne, Glad you like the new feature. When we reach out to the community with sneak peeks like this, that's about as much of our future plans as we expose. Wish we could tell more about what is to come but its difficult to estimate the timing of these things and if we say we're working on something and then need to shift gears to something else, it just leaves folks disappointed. We prefer if everyone is joyfully surprised;) 2 Link to comment Share on other sites More sharing options...
Share Posted August 26, 2015 Oops. I put my suggestions on the YouTube page... Here they are: Suggestions: mix, mixem, mixm, mxm, ripple, ripl, rypl, rpl, stir, stirem, vary Link to comment Share on other sites More sharing options...
Share Posted August 27, 2015 "differently()" is a possible function name too. Link to comment Share on other sites More sharing options...
Share Posted August 30, 2015 This is a really nice feature. I vote for "cycle" as the property name; for the love of God, please do NOT use 'alt'. > Carl - I love your humour in the video; made me laugh 2x on a foggy Sunday morning. Thx. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now