Show newer

the internet feels a lot lonelier than when i still knew people using irc

although a large chunk of those people abused me and forced me to retreat so maybe there's a connection there

are there any public hangout spaces left or is everyone else also hidden away into their closed doors highly personal discord servers

i don't think i've met new friends in 5 years now

don't worry i have plans for a feature or two to make the 1.0 release

Show thread

ok not a huge one this time but v0.4 is out now

  • NEW palette mode to sample colors from source image
  • some code reworked to optimize things

maple.pet/ditherinator/

@hipsterelectron idk i'm just out here trying to get slider no freezy while the code makes the image

@hipsterelectron far less recreational applications than the doofy little stuff i write lol

@hipsterelectron i bet if i learnt typescript or coffeescript or webassembly or whatever i could compile ditherinator into something that works 1000% faster but that involves a workflow more complicated that "save app.js" and "refresh browser that's pointed to a local html file and not a webserver"

@hipsterelectron i love how much you clearly know about this because i'm just a dingus prodding around mdn with programming patterns firmly stuck in like 1993 or so

if you look at the source for ditherinator i think you'll have a feel for how little i'm aware of all the stuff you're saying lol

i've optimized everything i can think of in ditherinator, and the mode that samples the source image to make a reduced palette is still pretty slow and only borderline usable to move the sliders around in realtime

but as a side effect pretty much any other mode is now a lot faster

@hipsterelectron i wish i could tell it not to be blocking like "hey generate this image and then update the DOM whenever it's done" but apparently the only way to do that is threading

frankly unless you're doing http fetching i cannot think of an application for async otherwise, because pretty much everything else turns async into blocking anyway

is the only way to decouple blocking procedural js from blocking the DOM really by using webworkers

i was trying to be fancy and using CIE94 to calculate distances in ditherinator but now i'm thinking i should just go with CIE76

perceptual color distance is a fuck

Show thread

i think there's something wrong with my code, conceptually...

notice blue blob in the background and how it gets turned into a red patch

if i increase the error diffusion dithering it only gets worse

ironically this seems to be an issue with the CIELAB distance rather than the error diffusion algorithm itself

much to fix before v0.4

@budsofstone not just in one place but highly integrated. when i'm making git commits i can see what the diffs were within the file i'm editing, instead of switching to a different window, looking at a diff that does not look like where i edited the file, and losing that short-term memory

@budsofstone don't use it as much but being able to call tasks like build, run tests

@budsofstone i like vscode's integration with WSL, git, custom extensions, linters, finding function definitions and references (which is language-dependant), etc

Show older
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!