v21’s avatarv21’s Twitter Archive—№ 67,842

    1. made a nice dither to play with v21.io/circle_dither/
  1. …in reply to @v21
    twitter just loves to turn videos to mush, doesn't it?
    1. …in reply to @v21
      anyway, some technical details: this is Floyd-Steinberg dithering, implemented in Rust in WebAssembly. and then made interactive in a way that hopefully shows off some of the nice texture.
      1. …in reply to @v21
        i've always wanted to implement Floyd-Steinberg, and I find the way the error correction makes it shift & shimmer fascinating and beautiful. it also means that you can't do it on the GPU! so this was a fun excuse to write an image mangling algorithm that has to be on the CPU.
        1. …in reply to @v21
          which was a great excuse to try out a tech stack that is wobbly and new, like Bambi on the ice. but that also promises to make single threaded, compute-bound calculations in the browser faster.
          1. …in reply to @v21
            anyway, fun to make. so far? i might mess with it some more, but sharing it now makes that a fun new project rather than an old one dragging on :)
            1. …in reply to @v21
              oh, yeah, i was pleased with the test image i chose
              1. …in reply to @v21
                and there's some dead code for animating the dither as it comes in
                1. …in reply to @v21
                  just found this image quietly beautiful
                  1. …in reply to @v21