HNHacker News
TopNewBestAskShowJobs

fogleman

3,899 karma · joined April 5, 2013

submissionscomments
fogleman··on Hole Punch: Sling your spaceship around gravitational fields
Well, this is strangely familiar to a game I just vibe-coded recently!

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

fogleman··on A Topological Picture Book, Rendered
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...!
fogleman··on A 77-year-old Republican man is staging a solo protest against Flock cameras
Why "man"? Why bring gender into it?
fogleman··on Show HN: Chess-Inspired Roguelike
Love it. The knights seem much more annoying / powerful than you'd expect.
fogleman··on Show HN: Gerrymandle - Daily puzzle game where you redraw electoral districts
Politics aside, this is a fun type of puzzle!
fogleman··on Only 17% of all 64-bit Integers are products of two 32-bit integers
Does it actually matter for hash uniformity, though?
fogleman··on Beating myself at chess
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!

fogleman··on You can't design software you don't work on
> 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

fogleman··on Scientists discover beer bottle in the Mariana Trench (2024)
Presumably it was open & empty, so it's just a piece of glass surviving...
fogleman··on Calendar
Probably depends on your printer. And you should be able to adjust margins in the print setup.
fogleman··on Weight loss jabs: What happens when you stop taking them
That's just what they call it in British English, and this is a BBC article.
fogleman··on OpenSCAD is kinda neat
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.
fogleman··on OpenSCAD is kinda neat
Indeed it does. Looks like their recent dev builds are way better. Good to know.
fogleman··on OpenSCAD is kinda neat
I see you still haven't read the README.
fogleman··on OpenSCAD is kinda neat
I just tried this in OpenSCAD and it crashed:

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

fogleman··on OpenSCAD is kinda neat
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.)
fogleman··on OpenSCAD is kinda neat
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.

fogleman··on OpenSCAD is kinda neat
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`.

fogleman··on OpenSCAD is kinda neat
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.

fogleman··on Ask HN: Who here is not working on web apps/server code?
I work on 3D printing algorithms at Formlabs. Lots of computational geometry.
fogleman··on How geometry is fundamental for chess
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?

fogleman··on Most technical problems are people problems
Yes, you are describing a "people problem"...
fogleman··on Raycore: GPU accelerated and modular ray intersections
Any benchmarks against embree?
fogleman··on Marble Fountain
What did you not like about the SolidPython2 / OpenSCAD approach? What would you want from a different "3D engine" for this?
fogleman··on Vibe Coding in the 90s
This is so good, and based on some of these comments I don't think everyone is quite getting it.
fogleman··on Good Writing
Possible counterpoint: LLMs are notoriously good at writing plausible sounding ideas that are wrong.
fogleman··on What is HDR, anyway?
So, if cameras have poor dynamic range, how are they getting away with a single exposure? They didn't explain that at all...
fogleman··on TinyCompiler: A compiler in a week-end
I've been a big fan of the author's tiny renderer. Nice to see a tiny compiler too!
fogleman··on Scroll-Driven Animations
A mouse zooming into your face isn't parallax
fogleman··on Show HN: An homage to Tom Dowdy's 1991 screensaver, "Kaos"
I just downloaded the screensaver pack mentioned by the OP and there's even another one in the pack called "Hopalong"!
Page 1 of 11Next →