Does anyone know how to do js background effects?

1 points by northband ↗ HN
Like you see on Google sometimes - such as when they did the Game of Life in the background.

I am building a super generic B&W webpage and want some 8-bit looking randomized subtle color changes in the background but have no idea on where to start.

Any tips appreciated.

4 comments

[ 3.5 ms ] story [ 16.7 ms ] thread
Here, look at something horrible I did just to see if it could be done. It runs in the background, both in the "continuous calculation" sense, and that it's actually behind the words on the page via z-index.

https://rachelbythebay.com/fun/sier/

Cool - could that be done in squares and randomly across the page? I'm going to build a concert/fan site/photo/blog and its going to be very generic. Having a very subtle background pixilate may be a cool look.