Get the latest tech news
Just for fun: animating a mosaic of 90s GIFs
How I built a scrolling GIF mosaic for Battle of the Tech Bands: p5.js/WebGL, CRT shader, perceptual hashing, and NSFW filtering on GeoCities classics
Feed it a frame from a GIF and it’ll run it through a transformer that returns a SFW or NSFW label along with a confidence score between 0 and 1, with 1 being the “I’m very sure this is smut” end of the scale. (btw, if you’re feeling curious and you’re not sitting in an open plan office; you can undo all my hard work and disable filtering by setting the?safe=no query param: gifs.alex.works?safe=no. I raised an issue on p5.js’s GitHub about this, but in the interest of getting things working in time for the show I hacked together a quick fix in a fork that I’m now using on the live site.
Or read this on Hacker News