From b3d179ebd113df49a713769fb79cecbaa3291a2a Mon Sep 17 00:00:00 2001 From: Soledad Penades Date: Mon, 17 Feb 2014 04:59:00 +0000 Subject: [PATCH] Example 12: random is random --- examples/12_graphs_custom_functions.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/12_graphs_custom_functions.html b/examples/12_graphs_custom_functions.html index a943843..2ed49f8 100644 --- a/examples/12_graphs_custom_functions.html +++ b/examples/12_graphs_custom_functions.html @@ -81,12 +81,12 @@ } function randomEasing(k) { - return Math.random() * k; + return Math.random(); } - // Again getting meta: why not use existing functions as the - // base for a new easing? + // Getting meta again: why not use existing functions as the + // base for new easing functions? function createNoisyEasing(randomProportion, easingFunction) { var normalProportion = 1.0 - randomProportion; return function(k) {