Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wow, the results are really good: 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...).



Thanks, 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/


The 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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: