cleanup and fixes

This commit is contained in:
Henry Jameson 2018-11-15 17:17:20 +03:00
parent 75cdcc40db
commit edb429e307
2 changed files with 2 additions and 16 deletions

View file

@ -99,9 +99,7 @@ const alphaBlend = (fg, fga, bg) => {
const invert = (rgb) => {
return 'rgb'.split('').reduce((acc, c) => {
console.log(rgb[c])
acc[c] = 255 - rgb[c]
console.log(acc[c])
return acc
}, {})
}