--
You received this message because you are subscribed to the Google Groups "Paper.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to paperjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Paper.js" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/paperjs/fRaPRFT-BSE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to paperjs+u...@googlegroups.com.
'hsb-rgb': function(h, s, b) {
h = (((h / 60) % 6) + 6) % 6;
var i = Math.floor(h),
f = h - i,
i = hsbIndices[i],
v = [
b,
b * (1 - s),
b * (1 - s * f),
b * (1 - s * (1 - f))
];
return [v[i[0]], v[i[1]], v[i[2]]];
}function setLum(r, g, b, l) {
var d = l - getLum(r, g, b);
dr = r + d;
dg = g + d;
db = b + d;
var l = getLum(dr, dg, db),
mn = min(dr, dg, db),
mx = max(dr, dg, db);
if (mn < 0) {
var lmn = l - mn;
dr = l + (dr - l) * l / lmn;
dg = l + (dg - l) * l / lmn;
db = l + (db - l) * l / lmn;
}
if (mx > 255) {
var ln = 255 - l,
mxl = mx - l;
dr = l + (dr - l) * ln / mxl;
dg = l + (dg - l) * ln / mxl;
db = l + (db - l) * ln / mxl;
}
}paper-core.js:1079: WARNING - Redeclared variable: count
var count = Numerical.solveQuadratic(a, b1, c2, roots, min, max);
^
paper-core.js:2943: WARNING - Redeclared variable: name
name = '_' + name;
^
paper-core.js:5228: WARNING - Redeclared variable: selected
selected = !!selected,
^
paper-core.js:6928: WARNING - Redeclared variable: path
path;
^
paper-core.js:7296: WARNING - Redeclared variable: index
index = append ? segments.length : index;
^
paper-core.js:7411: WARNING - Redeclared variable: curves
curves = curves.splice(index, amount);
^
paper-core.js:8241: WARNING - Redeclared variable: through
through = middle.add(middle.subtract(from).rotate(
^
paper-core.js:8251: WARNING - Redeclared variable: clockwise
clockwise = !!Base.read(arguments),
^
paper-core.js:10048: WARNING - Redeclared variable: i
i = hsbIndices[i],
^
paper-core.js:10737: WARNING - Redeclared variable: value
var value = this._values[key];
^
paper-core.js:12220: WARNING - Redeclared variable: l
var l = getLum(dr, dg, db),
^
paper-core.js:232: ERROR - variable module is undeclared
if (typeof module !== 'undefined')
^
paper-core.js:11076: ERROR - variable Stats is undeclared
&& typeof Stats !== 'undefined') {
^
paper-core.js:13368: ERROR - variable define is undeclared
if (typeof define === 'function' && define.amd) {
^
3 error(s), 11 warning(s)On Jun 28, 2016, at 18:51 , Doom <doom...@gmail.com> wrote:
--
You received this message because you are subscribed to a topic in the Google Groups "Paper.js" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/paperjs/fRaPRFT-BSE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to paperjs+u...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Paper.js" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/paperjs/fRaPRFT-BSE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to paperjs+u...@googlegroups.com.