Show newer

if for every pixel in an image i do a comprehensive color distance check for every color in a palette, a 320x240 picture takes ~3000ms

if i cache the results of the closest palette color to each color and fetch those when available instead of calculating, it takes... ~3800ms

Show thread

fixed some bugs (namely the one where a palette wouldn't load half the time) and detached the control feedback from the image processing to make moving sliders on long operations less painful at the tradeoff of not having immediate output preview

yesterday i don't think this dithering was taking a whole 3 seconds, so now i need to chase down optimizations

Show thread

turns out maybe javascript isn't the best tool for doing pixel manipulation on any image bigger than 10x10

O.K. here's a very early release. only Atkinson is implemented right now and only uploading a file to serve as palette. have fun

netizen.club/~mavica/ditherina

Show thread

The functionality you are looking has been kicked around in various ECMAScript proposals, however it does not appear to be coming anytime soon.

aaururrghghahauagurgh :aauugh:

Show thread

for my 30th year being activated i want everyone to take a cool look at all the stuff i've done maple.pet/ netizen.club/ soundcloud.com/svetlana especially my pride and joy maple.pet/webgbcam and send me nice messages especially if i've made stuff you liked because i've been really lonely lately

i bet if i had put behind a paywall i would've seen more purchases than i have seen likes/thanks about it. it seems people value money less than they value feedback

maple.pet/webgbcam

In 1994, a math professor discovered that Intel's Pentium chip sometimes gave the wrong answer when dividing. Fixing this "FDIV" bug cost Intel $475 million. I analyzed the Pentium chip and found the bug. 1/N

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!