Advertisement · 728 × 90

Posts by heinn

bonus color

6 days ago 30 2 0 0

thanks! it's an in-camera filter that I tried on a whim on a day with bad light, ended up liking it a lot

6 days ago 1 0 0 0

usually don't feel like posting pics but I've been having so much fun with it

6 days ago 3 0 0 0
Post image Post image Post image Post image

heinn? heinn dev? the photographer?

6 days ago 35 0 3 1
Video

animating my chud son

1 week ago 107 8 5 0

(but also, dithering "1 dimensionally" in each dimension of a color space is probably good enough for 99% of cases, but I wanted to find something that dithered to a SPECIFIC palette, not just a per-dimension quantization

actually rambling............

1 month ago 7 0 0 0
Preview
GitHub - dalpil/structure-aware-dithering: Experiments with structure-aware, error diffusion dithering algorithms, and other ways to improve beyond Floyd-Steinberg. Experiments with structure-aware, error diffusion dithering algorithms, and other ways to improve beyond Floyd-Steinberg. - dalpil/structure-aware-dithering

There's probably some search keywords I'm missing, but I'm not sure anyone cares about color dithering anymore....

I wonder if one could just adapt the error coming from stuff like this to a 3d vector however...
github.com/dalpil/struc...

1 month ago 8 1 1 0

Instead, you can find these skewed triangles, pick a point (like the circumcenter) and place a new palette point there to try to break up the triangle. The ACTUAL palette color of that point would be the closest color to it, not the actual color space position.

1 month ago 1 0 1 0

If you actually visualize some palettes triangulations, you'll notice some really long triangles, and those are gonna "capture" a lot of colors nearby. I think the actual correct weights would come from a 3d version of the natural neighbor interpolation, but that's hard to compute

1 month ago 1 0 1 0

this is so the dithering goes dark -> light
And that's you're nearest (in that space), dithered color. If you also imagine squishing the space in the ab dimension, it basically means you have more chroma choices for the next step of the gradient.

this however is not the "true" weight, because...

1 month ago 1 0 1 0
Advertisement

You then find the enclosing tetrahedron, and get the barycentric weights of the target pixel. Those weights represent how much of each palette color the pixel should get. Normalize the weights into a 0 to 1 segment, sort by luminance, and use the dither value at that pixel to pick a sorted color

1 month ago 1 0 1 0

I didn't look too hard but I didn't find anything that was about specifically this. But the idea is : you get a palette, convert it into oklab points. You then uh tetrahedralize those points. When you want to dither a target pixel from an image, you convert it to oklab, and put it in the space.

1 month ago 3 0 1 0

another cool thing is squeezing oklab along the ab dimensions before the dithering, makes things quite TASTY

1 month ago 90 10 1 0
Post image

is everything ok? you've barely triangulated your color space...

1 month ago 29 0 1 0
Post image Post image

which led to discovering funny things like "natural neighbor interpolation". In the end sprinkling some additional fake palette points and just dithering towards the 4 vertices of the enclosing tetrahedron of a target color ended up being more than enough

actually rambling like a mad man

1 month ago 25 0 1 0
Post image Post image

messing with dithering and palettizing again, the main idea being applying the dither to not just a linear ramp, but to all dimensions of the colorspace at once

1 month ago 81 6 2 1

uhhyuuhhuhghuoouhh

2 months ago 3 0 1 0
Post image

happy new uuuuhhh horse year

2 months ago 33 5 0 1
Advertisement

hello? my png?

2 months ago 1 0 0 0
Post image Post image

bonus fog

2 months ago 59 7 0 0

:roe:

2 months ago 1 0 0 0
Post image Post image Post image

bonus cats

2 months ago 44 4 0 0
Post image Post image Post image Post image

good harvest today

2 months ago 208 56 3 0

the most fun part of this has actually been figuring out l-systems and watch them grow

a more fun game could be just writing bacteria dna and watch them grow and compete.......

3 months ago 58 3 2 0
Preview
Tricteria by heinn A microscopic match-3 game

heinn.itch.io/tricteria

3 months ago 2 0 0 0
Advertisement
Video

made a little jam game

3 months ago 36 3 2 1

lamés spotted?

3 months ago 1 0 1 0
Post image

bonus bonus shot

3 months ago 99 4 1 0
Post image

bonus shot

4 months ago 26 2 0 0

🥴

4 months ago 0 0 0 0