cleanup and fixes
This commit is contained in:
parent
75cdcc40db
commit
edb429e307
2 changed files with 2 additions and 16 deletions
|
@ -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
|
||||
}, {})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue