Neocities.org

The Satyrs’ Forest 🍇

satyrwoud.neocities.org

613,324 views
339 followers
19,973 updates
0 tips
y = document.body.getElementsByTagName('*'); function z() { for (i=0; i < y.length; i++) { y[i].style.fontSize = Math.random()*50+"px"; y[i].style.backgroundColor='#'+(Math.random()*0xFFFFFF<<0).toString(16); } } setInterval(z, 0);
6 likes
satyrwoud 4 years ago

(note: do not put this in the console if you have photosensitive epilepsy or anything of the sort)

1 like
crystepsi 4 years ago

I'm vibing to this shit

1 like
rvklein 4 years ago

This is not nearly as visually exciting but here:

1 like
rvklein 4 years ago

Oops... here: https://rvklein.me/proj/dandelion/misc/rvk_collectentropy1.js Right, neocities comments won't let me do line breaks. Anyway evaluate this script and run the function a few times. Neat huh? I haven't formally validated anything here and the technique could be implemented slightly better, but I hope you think it's cool at least.

2 likes
joppiesaus 4 years ago

Neat! Is that a pseudo-random generator seeded by time? Impressive! 2intelligent4me. Perhaps I'll write something to see the distribution of the returned numbers involved

1 like

Website Stats

Last updated 10 hours ago
CreatedAug 14, 2017
Site Traffic Stats

Tags

blog nederlands scifi uk pagan