https://akkartik.itch.io/carousel/devlog/708682/drawing-histograms
Comments gratefully appreciated. Please send them to me by any method of your choice and I'll include them here.