News for hackers. Stuff that matters.

fogleman

Re:Hole Punch: Sling your spaceship around gravitational fields on Saturday October 03, 2026 @07:29PM (#49948822)
Well, this is strangely familiar to a game I just vibe-coded recently!

https://www.michaelfogleman.com/gravity-assist/

Re:A Topological Picture Book, Rendered on Tuesday September 08, 2026 @08:14PM (#49619017)
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?
Re:Show HN: Chess-Inspired Roguelike on Thursday June 25, 2026 @11:04PM (#48681902)
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?
Re:Beating Myself at Chess on Saturday January 03, 2026 @05:55PM (#46482576)
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!

Re:You can't design software you don't work on on Monday December 29, 2025 @11:55AM (#46422560)
> 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...
Re:Calendar on Sunday December 28, 2025 @11:00AM (#46411975)
Probably depends on your printer. And you should be able to adjust margins in the print setup.
Re:Weight loss jabs: What happens when you stop taking them on Sunday December 21, 2025 @04:05PM (#46348428)
That's just what they call it in British English, and this is a BBC article.
Re:OpenSCAD is kinda neat on Sunday December 21, 2025 @11:17AM (#46345867)
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.
Re:OpenSCAD is kinda neat on Sunday December 21, 2025 @11:14AM (#46345842)
Indeed it does. Looks like their recent dev builds are way better. Good to know.
Re:OpenSCAD is kinda neat on Saturday December 20, 2025 @10:15PM (#46341912)
I see you still haven't read the README.
Re:OpenSCAD is kinda neat on Saturday December 20, 2025 @09:51PM (#46341787)
I just tried this in OpenSCAD and it crashed:

intersection() { import("3DBenchy.stl"); sphere(30); }

Re:OpenSCAD is kinda neat on Saturday December 20, 2025 @07:36PM (#46341137)
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.)
Re:OpenSCAD is kinda neat on Saturday December 20, 2025 @06:37PM (#46340758)
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.

Re:OpenSCAD is kinda neat on Saturday December 20, 2025 @04:30PM (#46339813)
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`.

Re:OpenSCAD is kinda neat on Saturday December 20, 2025 @03:24PM (#46339316)
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.

Re:Ask HN: Who here is not working on web apps/server code? on Friday December 19, 2025 @04:03PM (#46330894)
I work on 3D printing algorithms at Formlabs. Lots of computational geometry.
Re:How Geometry Is Fundamental for Chess on Tuesday December 16, 2025 @05:06PM (#46295249)
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?

Re:Most Technical Problems Are People Problems on Friday December 05, 2025 @10:16AM (#46162389)
Yes, you are describing a "people problem"...
Re:Raycore: GPU accelerated and modular ray intersections on Friday November 14, 2025 @09:47PM (#45934625)
Any benchmarks against embree?
Re:Marble Fountain on Sunday November 09, 2025 @09:21PM (#45871622)
What did you not like about the SolidPython2 / OpenSCAD approach? What would you want from a different "3D engine" for this?
Re:Vibe Coding in the 90s on Friday October 24, 2025 @09:53PM (#45700797)
This is so good, and based on some of these comments I don't think everyone is quite getting it.
Re:Good Writing on Saturday May 24, 2025 @12:27PM (#44082083)
Possible counterpoint: LLMs are notoriously good at writing plausible sounding ideas that are wrong.
Re:What Is HDR, Anyway? on Wednesday May 14, 2025 @10:22AM (#43984909)
So, if cameras have poor dynamic range, how are they getting away with a single exposure? They didn't explain that at all...
Re:TinyCompiler: A compiler in a week-end on Thursday February 20, 2025 @09:37PM (#43123374)
I've been a big fan of the author's tiny renderer. Nice to see a tiny compiler too!
Re:Scroll-Driven Animations on Monday February 10, 2025 @09:12PM (#43008180)
A mouse zooming into your face isn't parallax

Show HN: De Jong Attractors

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....

( Read More... | no comments | on HN )

Older »