Hacker News new | ask | show | jobs
by arghwhat 1649 days ago
You seem to not realize that moving the calculation client-side means to send a JavaScript implementation, which for all sensible implementations would be significantly larger than the pre-computed result.
2 comments

The way the image is colored on the client is just some CSS (mix-blend-mode). Check it in the inspector.
No useless JavaScript in this case.