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

Mm, it seems to require high noise levels to not look visibly stripey. Is it actually dithering the colors, or just overlaying noise on top of it?


It uses the canvas gradient to create it, and then atop of that it dithers the colors using pixel manipulation. AFAIK there are no dithering techniques in the gradient creation itself, only the grain I add manually after creating the gradient.


And it's just noise I'm adding, I don't dither the colors.




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

Search: