fogleman
fogleman on Hacker News
Very nice. I've been inspired by the same sources and have always wanted a way to render such drawings for any arbitrary 3D model (e.g. STL file). I've played around with that quite a bit, even recently with LLM assistance, but haven't yet gotten it as good as I want. Eventually...!
Why "man"? Why bring gender into it?
Love it. The knights seem much more annoying / powerful than you'd expect.
Politics aside, this is a fun type of puzzle!
Does it actually matter for hash uniformity, though?
I'm just here to comment on the CGA color palette on this website, lol.
I always hated that video mode, but it looks good here when the magenta and cyan are limited just to links and headers!
> The kinds of topic being discussed are not "is DRY better than WET", but instead "could we put this new behavior in subsystem A? No, because it needs information B, which isn't available to that subsystem in context C, and we can't expose that without rewriting subsystem D, but if we split up subsystem E here and here..."
Hmm, sounds familiar...
Bingo knows everyone's name-o
Papaya & MBS generate session tokens
Wingman checks if users are ready to take it to the next level
Galactus, the all-knowing aggregator, demands a time range stretching to the end of the universe
EKS is deprecated, Omega Star still doesn't support ISO timestamps
https://www.youtube.com/watch?v=y8OnoxKotPQ
Presumably it was open & empty, so it's just a piece of glass surviving...
Probably depends on your printer. And you should be able to adjust margins in the print setup.
That's just what they call it in British English, and this is a BBC article.
I know it wasn't ill-intended, but my answer is largely the same. I like the idea of using SDFs to define models and this was just a fun little side project. And FWIW, my project predates build123d.
Indeed it does. Looks like their recent dev builds are way better. Good to know.
I see you still haven't read the README.
I just tried this in OpenSCAD and it crashed:
intersection() {
import("3DBenchy.stl");
sphere(30);
}
It's explained in the README. The SDF is evaluated on whole batches of points (32x32x32 tiles by default) using numpy. (And it's multithreaded.)
It seems like you already understand the differences. I wasn't aware of those other projects. build123d looks pretty neat.
Like most of my projects, this was just for fun and I mainly made it for myself. I'm a DIY kind of guy when it comes to software. I just throw things up on GitHub in case anyone else can get some use or inspiration out of it.
That feature requires getting pyopenvdb installed, which can be a headache, and I never really updated the README with examples, but it does work. There is one example script:
https://github.com/fogleman/sdf/blob/main/examples/mesh.py
You basically just say:
f = Mesh.from_file(path).sdf(voxel_size=0.25, half_width=1)
Then you can operate on `f`.
It is kinda neat, but OpenSCAD's limitations are the main thing that motivated me to write this Python library to generate 3D meshes used signed distance functions:
https://github.com/fogleman/sdf
One big plus to doing it this way is that it's "just" Python and you can use arbitrary logic to help construct your model.
You can even load an existing 3D mesh and operate on it as an SDF. Great for hollowing, chopping, eroding/dilating, etc. existing models.
I should probably do more with this project. I think there's a lot of interest in this space.
I work on 3D printing algorithms at Formlabs. Lots of computational geometry.
Kinda disappointing article. Not much substance regarding the link between geometry and chess, as suggested by the title.
> Shapes are hypothesized to be formed by a programming language in the brain.
And what does this even mean? What does it mean for there to be a "programming language" in the brain?
Yes, you are describing a "people problem"...
Any benchmarks against embree?
What did you not like about the SolidPython2 / OpenSCAD approach? What would you want from a different "3D engine" for this?
This is so good, and based on some of these comments I don't think everyone is quite getting it.
Possible counterpoint: LLMs are notoriously good at writing plausible sounding ideas that are wrong.
So, if cameras have poor dynamic range, how are they getting away with a single exposure? They didn't explain that at all...
I've been a big fan of the author's tiny renderer. Nice to see a tiny compiler too!
A mouse zooming into your face isn't parallax
Posted by
fogleman on Friday February 07, 2025 @02:32PM
from the show-hn dept.
https://www.michaelfogleman.com/static/dejong/
Yesterday's post [1] about the "Kaos" screensaver led me down a rabbit hole and I ended up implementing this demo of Peter de Jong's attractors: x' = sin(a * y) - cos(b * x)
y' = sin(c * x) - cos(d * y)
I added a little flair by blurring the point based on its distance from the previous point (how "fast" the attractor is moving).I added a bunch of controls with a lilgui control panel....