From dbfb3745134454d0d7cfb2a400ae23b81f1ea0bf Mon Sep 17 00:00:00 2001 From: jules Date: Sat, 14 Dec 2013 01:13:16 -0500 Subject: easyrgb color library --- js/util.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'js/util.js') diff --git a/js/util.js b/js/util.js index 5466c07..0dffc74 100644 --- a/js/util.js +++ b/js/util.js @@ -3,7 +3,28 @@ if (window.$) { $.fn.float = function(){ return parseFloat($(this).val()) } } +var E = Math.E +var PI = Math.PI function clamp(n,a,b){ return n