Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mattdesl
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
mattdesl
3mo ago
This is super cool, great work. Is there a video or demo of the 3D point cloud "gaussian splat" like experiments?
2.
▲
by
mattdesl
6mo ago
For those just learning about perceptual colour spaces, I’d recommend exploring OKLab which is simpler to implement and overcomes some of the problems of CIELab. https://bottosson.github.io/posts/oklab/
3.
▲
by
mattdesl
7mo ago
Still going through the article but loving all the detail and interactive components! Nice writeup. PS: worth mentioning the RGB to CMYK function credited to me is not my original work, I believe I got it off stack overflow or similar many
4.
▲
by
mattdesl
8mo ago
Nice work, the outputs look ethereal and quite beautiful. For some related work using genetic algorithms and evolution strategies, see[1]. Sketch synthesis is an area I'm pretty interested in lately; I'm currently exploring simila
5.
▲
by
mattdesl
9mo ago
Amazing as always, Bruno is a wizard with ThreeJS. There’s a surprising amount of stutter and lag on iOS, evident after the loading bar completes and the app freezes for 30 sec. Also during gameplay, quite a bit of stuttering. My guess is G
6.
▲
by
mattdesl
1y ago
A similar thing happens when you search “Canada eTA” — a $7 (required) entry visa the government typically issues instantly. But on Google, several sponsored sites appear above the gov site, and charge $100+ for the same service but slower,
7.
▲
by
mattdesl
1y ago
Nice post. OKLCH is quite handy but for writing colors in CSS I hope eventually we’ll get some form of OKHSL/OKHSV[1] so users don’t need to worry about gamut boundaries. [1] https://bottosson.github.io/posts/color
8.
▲
by
mattdesl
1y ago
A lot of it comes down to which pens you happen to have - I’ve had some success with Sakura gelly rolls for white, and also more recently have been enjoying sharpie creative acrylic markers which has a moderately opaque white ink. I’ve also
9.
▲
by
mattdesl
1y ago
Yes, it's a matmul; many color models just boil down to simple math. For example, look at Li and Luo's 2024 "simple color appearance model"[1], which is very similar to OKLab (just matmul!), and created for many of the
10.
▲
by
mattdesl
1y ago
Obviously; but this doesn’t suggest that OKLab is not a perceptually uniform color space. There is no “one true” UCS model - all of these are just approximations of various perception and color matching studies, and at some point CAM16-UCS
11.
▲
by
mattdesl
1y ago
> Oklab is not perceptually uniform By what metric? If the target is parity with CAM16-UCS, OKLab comes closer than many color spaces also designed to be perceptually uniform.
12.
▲
by
mattdesl
1y ago
It does a pretty good job at emulating CAM16 with a fraction of the parameters, computational complexity, and processing; it’s no wonder it was adopted by CSS. I don’t know what you mean by “not being linked to any perceptual color space” -
13.
▲
by
mattdesl
1y ago
I’ve done some color quantization tests with HyAB and OKLab on this same image. A couple notes: - what works well for this image might not work well for other images! I learned the hard way after lots of testing on this image, only to find
14.
▲
by
mattdesl
1y ago
Surely this would be even faster and potentially better with OKLab? Especially in the context of CIELab based distance metrics like CIEDE2000 which are a bit heavy. My own gripe with box cutting is that perceptual color spaces tend not to h
15.
▲
by
mattdesl
1y ago
I think the techniques in “Weight Agnostic Neural Networks” should be applicable here, too. It uses a variant of NEAT I believe. This would allow for learning the topology and wiring rather than just gates. But, in practice it is probably p
16.
▲
by
mattdesl
1y ago
The full title of the paper is “Questioning Representational Optimism in Deep Learning: The Fractured Entangled Representation Hypothesis.” https://arxiv.org/abs/2505.11581
17.
▲
Questioning Representational Optimism in Deep Learning
(github.com)
46 points
by
mattdesl
1y ago
|
7 comments
18.
▲
by
mattdesl
1y ago
There's also 'evolutionary strategy' algorithms that do not use the typical mutation and crossover, but instead use a population of candidates (search samples) to basically approximate the gradient landscape.
19.
▲
by
mattdesl
1y ago
The author is working on a program synthesizer using interaction nets/calculus, which should be released soon. It sounds quite interesting: https://x.com/VictorTaelin/status/1907976343830106592
20.
▲
by
mattdesl
1y ago
I wonder how well BitNet (ternary weights) would work for this. It seems like a promising way forward for constrained hardware. https://arxiv.org/abs/2310.11453 https://github.com/cpldcpu/BitNetMCU
21.
▲
by
mattdesl
1y ago
Developing an open source library that simulates pigment mixing in the browser, inspired by mixbox[1]. [1] https://scrtwpns.com/mixbox.pdf
22.
▲
by
mattdesl
1y ago
Really like this, nice work! Something to note is that Color Theif (Quantize) is using median cut on RGB, it would be interesting to try and extract dominant color in OKLab instead. I also love the idea of a genetic algorithm to find an ide
23.
▲
by
mattdesl
1y ago
What are the practical implications of this kind of assembly language? Surely there’s more efficient means of describing 2D SDFs? Fun exercise! I’ve been enjoying trying to find some new ways to approach the challenge. I managed to build a
24.
▲
by
mattdesl
1y ago
> Other than as an exercise, it's not clear why someone would write a massively parallel 2D renderer that needs a GPU. Modern GPUs are overkill for 2D. Now, 3D renderers, we need all the help we can get. A ton of 2D applications cou
25.
▲
Simple Uniform Color Space (2024)
(opg.optica.org)
2 points
by
mattdesl
1y ago
|
0 comments
26.
▲
by
mattdesl
2y ago
I think in the inputs I tested, I found Paeth to be the best for lower file sizes. I haven’t tested it extensively and to be honest, I should probably include some easier API for per-scanline filter selection rather than just a global choic
27.
▲
by
mattdesl
2y ago
I quite like the look of the blue noise dithering on this. Are you using just a texture as a mask, or something else?
28.
▲
by
mattdesl
2y ago
It might be worth using a lightness estimate like OKLab, OKLrab[1], or CIE Lab instead of the RGB luminance weighting, as it should produce a more perceptually accurate result. The other issue with your code right now, is that it is using e
29.
▲
by
mattdesl
2y ago
Last time I benchmarked png-tools, it was about 2-6x faster than fast-png for encoding. https://github.com/mattdesl/png-tools I’ve also added some other features like multi-threaded encoding, cancellation, encoding phy
30.
▲
by
mattdesl
2y ago
Really nice work and great post. Just to add, if you want smooth anti-aliased edges without the second super-sampling pass, you can use standard derivatives in your SDFs. Basically, replacing your step functions with 'aastep', e.g
More ›