Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2010-01-06 Thread Paul Kim
It is, at least in my FF 3.5.7 on Win 7, but I haven't the slightest clue as
to why. Thanks for sharing those demos.



On Wed, Jan 6, 2010 at 1:29 PM, Scott Sauyet scott.sau...@gmail.com wrote:

 On Jan 6, 3:44 pm, Acaz Souza acazso...@gmail.com wrote:
  MooTools:http://www.jsfiddle.net/4vnya/
  jQuery:http://www.jsfiddle.net/eFbwJ/36/
  (Compare the code, the effects. You decide.)
 
  Why mootools is more smooth than jquery?

 It's not, at least not in my FF3.5.6 on Win XP.

 Haven't you been here asking this question before?  Are you trying to
 get information or prove some obscure point?

  -- Scott



RE: [jQuery] Re: Why mootools animations is more smooth than jquery?

2010-01-06 Thread Jeffrey Kretz
They seem about the same to me as well, FF3.5.6 on Win7


-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Scott Sauyet
Sent: Wednesday, January 06, 2010 1:29 PM
To: jQuery (English)
Subject: [jQuery] Re: Why mootools animations is more smooth than jquery?

On Jan 6, 3:44 pm, Acaz Souza acazso...@gmail.com wrote:
 MooTools:http://www.jsfiddle.net/4vnya/
 jQuery:http://www.jsfiddle.net/eFbwJ/36/
 (Compare the code, the effects. You decide.)

 Why mootools is more smooth than jquery?

It's not, at least not in my FF3.5.6 on Win XP.

Haven't you been here asking this question before?  Are you trying to
get information or prove some obscure point?

  -- Scott



Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-05 Thread waseem sabjee
to be honest no library is 100% efficient.
its like a template that anyone can download. what counts as what you do
with it and if suits your needs.

in some cases you would create your very own template if nothing suits your
needs.

so if you require 100% smoothness in everything you would require only the
pieces of scripts that you are using and nothing more.

regardless of the library you choose code that you do not use will always
exist.
say if you find a js lib where each function is its' own file. it would
be efficient as you include only what you need. however it would take longer
for all your scripts to load as the user would have to download each one.

unfortunately i cannot fully answer your questions.



On Sat, Dec 5, 2009 at 1:00 PM, Acaz Souza acazso...@gmail.com wrote:

 Hi everyone, i´m from brazilian, my english is too bad. Sorry for bad
 questions.

 But, ok ok, This depends on the computer hardware, engine of the
 browser, how the plugin is written and more...

 But, another question, The algorithm of animation that has been made
 in jquery to give the best quality in this regard?

 I want to say this, the jquery it was done with lower quality
 animation to preserve the other strengths? (Or Not?)

 Because i have a project to build, and smoothing is very important to
 me. I like jquery, but sometimes i see mootools more smooth than
 jquery.

 And the other animations frameworks, anyone know if they are better in
 this point?

 On 5 dez, 01:04, Dave Methvin dave.meth...@gmail.com wrote:
   ok, I've used some code I had lying around and put dummy content in
 there:http://www.tnt.be/bugs/jquery/moovsjquery/
 
   I actually don't really see a difference on my Ubuntu box (using FF
   3.6b4), but there's a huge difference on a colleague's G4 (OS X 10.4,
   Firefox 3.5.5), so try to find a slow computer to test this on.
 
  Jonathan, thanks for doing the demo. Pretty nice demo, by the way!
 
  I tried it on my system, but it's a fast Dell notebook running Windows
  7. The demo ran smoothly on Firefox 3.5, IE8, Opera 10, and Chrome 3.



Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-05 Thread waseem sabjee
test with the minified version :)

On Sat, Dec 5, 2009 at 2:22 PM, Acaz Souza acazso...@gmail.com wrote:

 Hi everyone, i will do some tests with this librarys, i will elevate
 the CPU usage and tests in the major browsers.

 On 5 dez, 09:57, waseem sabjee waseemsab...@gmail.com wrote:
  to be honest no library is 100% efficient.
  its like a template that anyone can download. what counts as what you do
  with it and if suits your needs.
 
  in some cases you would create your very own template if nothing suits
 your
  needs.
 
  so if you require 100% smoothness in everything you would require only
 the
  pieces of scripts that you are using and nothing more.
 
  regardless of the library you choose code that you do not use will always
  exist.
  say if you find a js lib where each function is its' own file. it would
  be efficient as you include only what you need. however it would take
 longer
  for all your scripts to load as the user would have to download each one.
 
  unfortunately i cannot fully answer your questions.
 
 
 
  On Sat, Dec 5, 2009 at 1:00 PM, Acaz Souza acazso...@gmail.com wrote:
   Hi everyone, i´m from brazilian, my english is too bad. Sorry for bad
   questions.
 
   But, ok ok, This depends on the computer hardware, engine of the
   browser, how the plugin is written and more...
 
   But, another question, The algorithm of animation that has been made
   in jquery to give the best quality in this regard?
 
   I want to say this, the jquery it was done with lower quality
   animation to preserve the other strengths? (Or Not?)
 
   Because i have a project to build, and smoothing is very important to
   me. I like jquery, but sometimes i see mootools more smooth than
   jquery.
 
   And the other animations frameworks, anyone know if they are better in
   this point?
 
   On 5 dez, 01:04, Dave Methvin dave.meth...@gmail.com wrote:
 ok, I've used some code I had lying around and put dummy content in
   there:http://www.tnt.be/bugs/jquery/moovsjquery/
 
 I actually don't really see a difference on my Ubuntu box (using FF
 3.6b4), but there's a huge difference on a colleague's G4 (OS X
 10.4,
 Firefox 3.5.5), so try to find a slow computer to test this on.
 
Jonathan, thanks for doing the demo. Pretty nice demo, by the way!
 
I tried it on my system, but it's a fast Dell notebook running
 Windows
7. The demo ran smoothly on Firefox 3.5, IE8, Opera 10, and Chrome 3.



Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Jonathan Vanherpe (T T NV)

Karl Swedberg wrote:


On Dec 3, 2009, at 7:31 PM, Dave Methvin wrote:


I refrained from replying because the OP seemed trollish, but he has a
point, IMHO.


It would be great if someone who knew both frameworks could set up a
page that demonstrated a side-by-side case where Mootools has smoother
animations than jQuery. Otherwise it's hard do know what might be
causing the problem, or even whether there's a problem at all.


That's a great idea, Dave.

I wonder how much the easing equation affects people's perception of 
smoothness. It might be worthwhile to try animations using the 
easing plugin and see if any of those equations feel smoother.


--Karl


Karl Swedberg
www.englishrules.com http://www.englishrules.com
www.learningjquery.com http://www.learningjquery.com


ok, I've used some code I had lying around and put dummy content in there:
http://www.tnt.be/bugs/jquery/moovsjquery/

I actually don't really see a difference on my Ubuntu box (using FF 
3.6b4), but there's a huge difference on a colleague's G4 (OS X 10.4, 
Firefox 3.5.5), so try to find a slow computer to test this on.


Again, this might be the fault of the plugin I'm using, if you have 
another way of doing the same thing in jQuery you can tell me so I know 
for next time. I really prefer using jQuery, but sometimes I just can't 
because of things like this.


Jonathan

--
www.tnt.be http://www.tnt.be/?source=emailsig   *Jonathan Vanherpe*
jonat...@tnt.be mailto:jonat...@tnt.be - www.tnt.be 
http://www.tnt.be/?source=emailsig - tel.: +32 (0)9 3860441




Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Michel Belleville
Just used your benchmark and I didn't see any significant differences. Both
had slight jumps from time to time, none felt like there was a pattern, I'm
using Firefox 3.5 on a iMac pro (last year's edition) running snow leopard.

Michel Belleville


2009/12/4 Jonathan Vanherpe (T  T NV) jonat...@tnt.be

  Karl Swedberg wrote:


   On Dec 3, 2009, at 7:31 PM, Dave Methvin wrote:

  I refrained from replying because the OP seemed trollish, but he has a

 point, IMHO.


 It would be great if someone who knew both frameworks could set up a
 page that demonstrated a side-by-side case where Mootools has smoother
 animations than jQuery. Otherwise it's hard do know what might be
 causing the problem, or even whether there's a problem at all.


  That's a great idea, Dave.

  I wonder how much the easing equation affects people's perception of
 smoothness. It might be worthwhile to try animations using the easing
 plugin and see if any of those equations feel smoother.

 --Karl

 
 Karl Swedberg
 www.englishrules.com
 www.learningjquery.com

   ok, I've used some code I had lying around and put dummy content in
 there:
 http://www.tnt.be/bugs/jquery/moovsjquery/

 I actually don't really see a difference on my Ubuntu box (using FF 3.6b4),
 but there's a huge difference on a colleague's G4 (OS X 10.4, Firefox
 3.5.5), so try to find a slow computer to test this on.

 Again, this might be the fault of the plugin I'm using, if you have another
 way of doing the same thing in jQuery you can tell me so I know for next
 time. I really prefer using jQuery, but sometimes I just can't because of
 things like this.

 Jonathan

  --
   [image: www.tnt.be] http://www.tnt.be/?source=emailsig  *Jonathan
 Vanherpe*
 jonat...@tnt.be - www.tnt.be http://www.tnt.be/?source=emailsig - tel.:
 +32 (0)9 3860441



Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Jonathan Vanherpe (T T NV)
That's why I said you needed to find a slow computer to test it on ;-). 
We need to cater to a diverse audience, and part of that audience is 
using IE6 on a crappy Intel Celeron chip or Firefox on a G4.


Jonathan

Michel Belleville wrote:
Just used your benchmark and I didn't see any significant differences. 
Both had slight jumps from time to time, none felt like there was a 
pattern, I'm using Firefox 3.5 on a iMac pro (last year's edition) 
running snow leopard.


Michel Belleville


2009/12/4 Jonathan Vanherpe (T  T NV) jonat...@tnt.be 
mailto:jonat...@tnt.be


Karl Swedberg wrote:


On Dec 3, 2009, at 7:31 PM, Dave Methvin wrote:


I refrained from replying because the OP seemed trollish, but
he has a
point, IMHO.


It would be great if someone who knew both frameworks could set up a
page that demonstrated a side-by-side case where Mootools has
smoother
animations than jQuery. Otherwise it's hard do know what might be
causing the problem, or even whether there's a problem at all.


That's a great idea, Dave.

I wonder how much the easing equation affects people's perception
of smoothness. It might be worthwhile to try animations using
the easing plugin and see if any of those equations feel smoother.

--Karl


Karl Swedberg
www.englishrules.com http://www.englishrules.com
www.learningjquery.com http://www.learningjquery.com


ok, I've used some code I had lying around and put dummy content
in there:
http://www.tnt.be/bugs/jquery/moovsjquery/

I actually don't really see a difference on my Ubuntu box (using
FF 3.6b4), but there's a huge difference on a colleague's G4 (OS X
10.4, Firefox 3.5.5), so try to find a slow computer to test this on.

Again, this might be the fault of the plugin I'm using, if you
have another way of doing the same thing in jQuery you can tell me
so I know for next time. I really prefer using jQuery, but
sometimes I just can't because of things like this.

Jonathan

-- 
www.tnt.be http://www.tnt.be/?source=emailsig 		*Jonathan Vanherpe*

jonat...@tnt.be mailto:jonat...@tnt.be - www.tnt.be
http://www.tnt.be/?source=emailsig - tel.: +32 (0)9 3860441





--
www.tnt.be http://www.tnt.be/?source=emailsig   *Jonathan Vanherpe*
jonat...@tnt.be mailto:jonat...@tnt.be - www.tnt.be 
http://www.tnt.be/?source=emailsig - tel.: +32 (0)9 3860441




Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Karl Swedberg
Just out of curiosity, which browser are you using? Did you try it in  
more than one?


--Karl


On Dec 4, 2009, at 9:43 AM, donb wrote:


I have a 'slow computer'  that is 6 years old hardware, has been
upgraded from windows 3.1 and upward, to the current XP without ever a
wipe and reinstall.  I figure I'm a worst-case scenario if there ever
was one. ;-)

I routinely find pages loading extremely slow from javascript-intense
sites.   But these test cases run equally-smooth with jquery or
mootools, for me.

I would throw out another possibility here - the particular javascript
engine that the browser is using.  Might want to check that.  (NOTE: I
just tried to figure out what version I am using, but danged if I can
find anything that tells me what version it is.  Give me a pointer
what to look for and I'll look again if you want me to).

On Dec 4, 5:54 am, wshawn sh...@sanityllc.com wrote:

Celeron?  BAH!

They need to kill that beast.

In openSuse, on a not so slow machine ;)  running KDE, Firefox 3.5.5
with only the cookie monster plugin activated, I noticed a slight lag
in the mootools sample.

Some of this perceived speed difference may be a direct result of
plugins, or proxy issues in the browsers themselves.

The biggest noticeable changes were 2 to 3 and 4 to 1.The direct
vertical and horizontal slides were fine in both jQuery and Mootools.

On Dec 4, 4:06 am, Jonathan Vanherpe (T  T NV) jonat...@tnt.be
wrote:



That's why I said you needed to find a slow computer to test it  
on ;-).

We need to cater to a diverse audience, and part of that audience is
using IE6 on a crappy Intel Celeron chip or Firefox on a G4.



Jonathan



Michel Belleville wrote:
Just used your benchmark and I didn't see any significant  
differences.

Both had slight jumps from time to time, none felt like there was a
pattern, I'm using Firefox 3.5 on a iMac pro (last year's edition)
running snow leopard.



Michel Belleville



2009/12/4 Jonathan Vanherpe (T  T NV) jonat...@tnt.be
mailto:jonat...@tnt.be



Karl Swedberg wrote:



On Dec 3, 2009, at 7:31 PM, Dave Methvin wrote:


I refrained from replying because the OP seemed trollish,  
but

he has a
point, IMHO.


It would be great if someone who knew both frameworks could  
set up a

page that demonstrated a side-by-side case where Mootools has
smoother
animations than jQuery. Otherwise it's hard do know what  
might be
causing the problem, or even whether there's a problem at  
all.



That's a great idea, Dave.


I wonder how much the easing equation affects people's  
perception
of smoothness. It might be worthwhile to try animations  
using
the easing plugin and see if any of those equations feel  
smoother.



--Karl




Karl Swedberg
   www.englishrules.comhttp://www.englishrules.com
   www.learningjquery.comhttp://www.learningjquery.com


ok, I've used some code I had lying around and put dummy  
content

in there:
   http://www.tnt.be/bugs/jquery/moovsjquery/


I actually don't really see a difference on my Ubuntu box  
(using
FF 3.6b4), but there's a huge difference on a colleague's G4  
(OS X
10.4, Firefox 3.5.5), so try to find a slow computer to test  
this on.



Again, this might be the fault of the plugin I'm using, if you
have another way of doing the same thing in jQuery you can  
tell me

so I know for next time. I really prefer using jQuery, but
sometimes I just can't because of things like this.



Jonathan



--
   www.tnt.behttp://www.tnt.be/?source=emailsig   
*Jonathan Vanherpe*

jonat...@tnt.be mailto:jonat...@tnt.be -www.tnt.be
http://www.tnt.be/?source=emailsig - tel.: +32 (0)9 3860441


--www.tnt.behttp://www.tnt.be/?source=emailsig
*Jonathan Vanherpe*

jonat...@tnt.be mailto:jonat...@tnt.be -www.tnt.be
http://www.tnt.be/?source=emailsig - tel.: +32 (0)9 3860441-  
Hide quoted text -


- Show quoted text -




Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-03 Thread Michel Belleville
I wonder, is this a feeble attempt at launching a troll, a poorly worded
vague question, or just good old plain nonsense ?

Michel Belleville


2009/12/3 Acaz Souza acazso...@gmail.com

 The jquery framework in past, it use the fx animation, it's true?

 On Dec 2, 4:26 pm, MorningZ morni...@gmail.com wrote:
  How is someone *possibly* supposed to answer that open ended and vague
  question?
 
  On Dec 2, 1:13 pm, Acaz Souza acazso...@gmail.com wrote:
 
 
 
   anyone can help me?
 
   On Dec 2, 11:31 am, Acaz Souza acazso...@gmail.com wrote:
 
Why mootools animations is more smooth than jquery animations?



Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-03 Thread Rey Bango

Acaz,

I think you should consider looking into this yourself. The animations 
provided by jQuery, while basic, are quite smooth and perform well. If 
you feel that the ones provided by MooTools perform better, then I would 
urge you to take the time to investigate it and consider offering 
patches should you find a good solution.


Best,

Rey
jQuery Team

Acaz Souza wrote:

The jquery framework in past, it use the fx animation, it's true?

On Dec 2, 4:26 pm, MorningZ morni...@gmail.com wrote:

How is someone *possibly* supposed to answer that open ended and vague
question?

On Dec 2, 1:13 pm, Acaz Souza acazso...@gmail.com wrote:




anyone can help me?
On Dec 2, 11:31 am, Acaz Souza acazso...@gmail.com wrote:

Why mootools animations is more smooth than jquery animations?




Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-03 Thread Rey Bango

LOL. :D

Thanks Scott.

Rey...

Scott Sauyet wrote:

On Dec 3, 11:02 am, Rey Bango r...@reybango.com wrote:

I think you should consider looking into this yourself. The animations
provided by jQuery, while basic, are quite smooth and perform well. If
you feel that the ones provided by MooTools perform better, then I would
urge you to take the time to investigate it and consider offering
patches should you find a good solution.


How does Rey do that?

Twice I stopped my fingers over the send key on a troll message.
I decided that ignoring it was my best bet.

I never even considered trying to turn it into a positive suggestion.

Sure, Rey, show us all up by being nicer!  :-)

  -- Scott



Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-03 Thread Jonathan Vanherpe (T T NV)
I'm not trolling (at least today I'm not ;-)), but mootools' effects are 
smoother in at least some cases. I've switched to mootools for some 
websites just because of that, even though I really prefer working with 
jQuery.


Try using scrollTo() diagonally in both frameworks to see one example 
(ofcourse, this might just be the scrollto plugin's fault).


I refrained from replying because the OP seemed trollish, but he has a 
point, IMHO.


Jonathan

Rey Bango wrote:

LOL. :D

Thanks Scott.

Rey...

Scott Sauyet wrote:

On Dec 3, 11:02 am, Rey Bango r...@reybango.com wrote:

I think you should consider looking into this yourself. The animations
provided by jQuery, while basic, are quite smooth and perform well. If
you feel that the ones provided by MooTools perform better, then I would
urge you to take the time to investigate it and consider offering
patches should you find a good solution.


How does Rey do that?

Twice I stopped my fingers over the send key on a troll message.
I decided that ignoring it was my best bet.

I never even considered trying to turn it into a positive suggestion.

Sure, Rey, show us all up by being nicer! :-)

-- Scott






--
Jonathan Vanherpe - Tallieu  Tallieu NV - jonat...@tnt.be


Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-03 Thread Rey Bango
That's certainly possible. Again, for me the animations provided by 
jQuery have been great. I'd give you the same feedback in that if there 
are issues, I'd urge you to see if you can pinpoint them and provide a 
patch. That would be a great help to the project.


Rey...

Jonathan Vanherpe (T  T NV) wrote:
I'm not trolling (at least today I'm not ;-)), but mootools' effects are 
smoother in at least some cases. I've switched to mootools for some 
websites just because of that, even though I really prefer working with 
jQuery.


Try using scrollTo() diagonally in both frameworks to see one example 
(ofcourse, this might just be the scrollto plugin's fault).


I refrained from replying because the OP seemed trollish, but he has a 
point, IMHO.


Jonathan

Rey Bango wrote:

LOL. :D

Thanks Scott.

Rey...

Scott Sauyet wrote:

On Dec 3, 11:02 am, Rey Bango r...@reybango.com wrote:

I think you should consider looking into this yourself. The animations
provided by jQuery, while basic, are quite smooth and perform well. If
you feel that the ones provided by MooTools perform better, then I 
would

urge you to take the time to investigate it and consider offering
patches should you find a good solution.


How does Rey do that?

Twice I stopped my fingers over the send key on a troll message.
I decided that ignoring it was my best bet.

I never even considered trying to turn it into a positive suggestion.

Sure, Rey, show us all up by being nicer! :-)

-- Scott








Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-03 Thread Karl Swedberg


On Dec 3, 2009, at 7:31 PM, Dave Methvin wrote:

I refrained from replying because the OP seemed trollish, but he  
has a

point, IMHO.


It would be great if someone who knew both frameworks could set up a
page that demonstrated a side-by-side case where Mootools has smoother
animations than jQuery. Otherwise it's hard do know what might be
causing the problem, or even whether there's a problem at all.


That's a great idea, Dave.

I wonder how much the easing equation affects people's perception of  
smoothness. It might be worthwhile to try animations using the  
easing plugin and see if any of those equations feel smoother.


--Karl


Karl Swedberg
www.englishrules.com
www.learningjquery.com