Title: [202709] trunk/Websites/webkit.org
Revision
202709
Author
d...@apple.com
Date
2016-06-30 14:50:40 -0700 (Thu, 30 Jun 2016)

Log Message

Tab pointed out a typo that made the overdamped case fail.

* demos/spring/spring.js:
(SpringSolver.prototype.solve):

Modified Paths

Diff

Modified: trunk/Websites/webkit.org/ChangeLog (202708 => 202709)


--- trunk/Websites/webkit.org/ChangeLog	2016-06-30 21:29:42 UTC (rev 202708)
+++ trunk/Websites/webkit.org/ChangeLog	2016-06-30 21:50:40 UTC (rev 202709)
@@ -1,5 +1,12 @@
 2016-06-30  Dean Jackson  <d...@apple.com>
 
+        Tab pointed out a typo that made the overdamped case fail.
+
+        * demos/spring/spring.js:
+        (SpringSolver.prototype.solve):
+
+2016-06-30  Dean Jackson  <d...@apple.com>
+
         Fixed a typo in the link to the other version.
 
         * blog-files/color-gamut/index.html:

Modified: trunk/Websites/webkit.org/demos/spring/spring.js (202708 => 202709)


--- trunk/Websites/webkit.org/demos/spring/spring.js	2016-06-30 21:29:42 UTC (rev 202708)
+++ trunk/Websites/webkit.org/demos/spring/spring.js	2016-06-30 21:50:40 UTC (rev 202709)
@@ -48,7 +48,7 @@
         t = Math.exp(-t * this.m_zeta * this.m_w0) * (this.m_A * Math.cos(this.m_wd * t) + this.m_B * Math.sin(this.m_wd * t));
     } else {
         // Critically damped (ignoring over-damped case for now).
-        t = (this.m_A + thism_B * t) * Math.exp(-t * this.m_w0);
+        t = (this.m_A + this.m_B * t) * Math.exp(-t * this.m_w0);
     }
 
     // Map range from [1..0] to [0..1].
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to