[HN Gopher] Randomness in CSS using trigonometry
___________________________________________________________________
Randomness in CSS using trigonometry
Author : thunderbong
Score : 43 points
Date : 2023-07-31 14:54 UTC (8 hours ago)
(HTM) web link (hypersphere.blog)
(TXT) w3m dump (hypersphere.blog)
| petepete wrote:
| Not sure I'd take styling tips from a site where the links are
| white on white in Chrome on Android.
| rav wrote:
| Looking at the CSS on the blog, there's some "@media (prefers-
| color-scheme: dark)" directives that change certain colors when
| dark mode is enabled - but at the same time, links are made
| white unconditionally.
|
| Probably the author has dark mode enabled and hasn't tested
| their website in light mode.
|
| In the past, and I.
| tantalor wrote:
| Also Chrome desktop
| rappatic wrote:
| Also in Firefox on macOS
| moritzwarhier wrote:
| Title already makes me love the article.
|
| Whenever I got back to how fun it is to plot 2D functions, I soon
| started to try creating freaky images with parts of seeming
| chaos.
|
| Like combining trigonometric, algebraic and discontinous
| functions such as the floor function.
|
| Unfortunately,
| https://en.m.wikipedia.org/wiki/Thomae%27s_function
|
| requires branching and a complex discontonuous and uncomputable
| (?) function in the definition :)
___________________________________________________________________
(page generated 2023-07-31 23:01 UTC)