Hacker News new | ask | show | jobs
by zzaip 2690 days ago
This code is... rough? I'm sorry. You're clamping opacity between 0 and 1 and then checking that it's clamped between 0 and 1. Among other issues.