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

Here is a cosine based gradient generation [1]. And an example implementation from thi.ng/color [2].

[1] http://www.iquilezles.org/www/articles/palettes/palettes.htm

[2] https://github.com/thi-ng/color/blob/master/src/gradients.or...



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

Search: