From 9a5c9893e34994a81a89ec83ce124507f0f7177e Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Fri, 4 Aug 2017 11:30:12 -0400 Subject: [PATCH] Tweak click end rebound inertia --- js/proximity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/proximity.js b/js/proximity.js index 8a1ba5e..9fbacce 100644 --- a/js/proximity.js +++ b/js/proximity.js @@ -87,7 +87,7 @@ var clickInertia = clickInertiaStart; var clickTweeningFnStart = null; // initial value of the specific tweening function to assign to points in effect radius (null will not change functions) var clickTweeningFn = clickTweeningFnStart; var clickColorShiftAmt = disconnectedColorShiftAmt * 3; // amount of RGB color value to shift for each point in effect radius -var clickPullRateEnd = -0.6; // value of clickPullRate during tick after end of click (for "rebound" effect) +var clickPullRateEnd = -0.5; // value of clickPullRate during tick after end of click (for "rebound" effect) var clickInertiaEnd = 0.3; // value of clickInertia during tick after end of click var clickTweeningFnEnd = 12; // value of clickTweeningFn during tick after end of click (number refers to index into allTweeningsFns) // hover effect related config vars