3 ms·
Wow, the results are really good: https://muffinman.io/invaders/ https://muffinman.io/invaders/ Much better than you'd expect from the article. Also, TIL abou
by stevage 1y ago
Wow, the results are really good: https://muffinman.io/invaders/ https://muffinman.io/invaders/
Much better than you'd expect from the article.
Also, TIL about [oklch](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/oklch https://developer.mozilla.org/en-US/docs/Web/CSS/color_value...).
- stanko 1y agoThanks, when I started experimenting I was pleasantly surprised with results I was getting. After some polishing and adding UI I think it really came together nicely. As for OKLCH, it is a big upgrade. Working with color from code is hard, and it really makes things easier. I also like HSLuv [1], but unfortunately it is not supported natively in browsers. [1] https://www.hsluv.org/ https://www.hsluv.org/
- stevage 1y agoThe uniform lightness looks nice, but it's a shame that the easily memorable hue values of HSL (0 = red, 120 = green, 240=blue) are lost.