Some more revisions. That's how it looks with straight gradients. No notice-able change, but way cleaner code: https://gist.github.com/tobwen/c07fa2458499c180a3e0585e5d70d802 And that's the flat version with straight gradients: https://gist.github.com/tobwen/cd744ea324ff992a27aad7efd958212c