Ditherpunk — The article I wish I had about monochrome image dithering
I always loved the visual aesthetic of dithering but never knew how it’s done. So I did some research. This article may contain traces of nostalgia and none of Lena.
Case study: Moving a Three.js-based WebXR app off-main-thread
Keeping the frame rate stable is vital for virtual reality applications. Off-main-thread architecture can help ensure that the frames keep shipping.
Streams for reactive programming
Can you use WHATWG Streams for reactive programming? It seems so. But is it a good idea?
React + Redux + Comlink = Off-main-thread
Redux is state management. State management belongs off the main thread.
Is postMessage slow?
No, not really. (It depends.)
- … all posts
Demo accompanying the Ditherpunk article which dithers an image of your choice with a bunch of dithering algorithms.
WhatWG Stream Visualizer
A visual “interface” for WhatWG streams.
Renders images as a spiral with varying wobblyness (technical term), so it looks a bit like a vinyl record.
Discrete Cosine Transform (DCT)
A reactive UI that creates the Discrete Cosine Transform of a given image, removes some data and then applies the reverese DCT to show the visual artifacts.
Workerized Mandelbrot with SABs
This experiment is a real-time, interactive Mandelbrot renderer using SharedArrayBuffers, Atomics and Web Workers.
- … all experiments