Better HN
topnewbestaskshowjobs
Log inSign up

greggman65

90 karma · joined Aug 29, 2025 (1y ago) · 45 submissions

Submissions

comment 1w ago · link · parent

The question is why? LLMs will write this stuff without three.js just fine.

See 4 examples I posted yesterday: https://news.ycombinator.com/item?id=50514583

Without three.js the LLMs are more free to write whatever is appropriate for the specific project, instead of having to work around three.js:s architectural decisions when they don't match the thing being made. They further don't need any of three.s infra.

Whether or not those examples are AAA, they are proof IMO that the LLMs can do it without the libraries AND they can do it better without the shackles. Take the GTA like one above, the LLM split the city in 128 triangle chunks and culls them all on the GPU, taking inspiration from Nanite. Any feature you want they will happily recreate in 1 or 2 prompts. And no, you don't need any special knowledge. You just need to ask the LLM to optimize over a few prompts and it will figure out solutions.

I know people will jump to three.js defense because it's well loved and a great library. At the same time, so many people are acknowledging that so many libraries in general are no longer needed. See shopify getting rid of middleware because the LLM doesn't needed it: https://shopify.engineering/back-to-native

It's the same with 3d libraries and game engines. Epic sees the writing on the wall. They can tell that there's much less need for Unreal today than ever and while Unreal is great and provides a ton of tools etc, every day LLMs get better at reproducing all of it, meaning they can see it has a shelf life. I think the same is true of most of these graphics libraries and game engines from the last 15 years.

comment 1w ago · link · parent

then you should file a bug on firefox

comment 1w ago · link · parent

There are tons of seed generated examples from Claude (and others)

Here's mine:

https://greggman.github.io/gen-city-auto/ (430k, 4 cites, tons of vehicles, trains, signs, water, bridges, rain, road details) - video for highlights: https://x.com/greggman/status/2117605120745881692

https://greggman.github.io/cyber-web-city/ (200k, 10 cities themes) - video for highlights: https://x.com/greggman/status/2109451367941378213

https://greggman.github.io/webgpu-driving/ (170k - 10 environments, several vehicles, tunnels) - video for highlights: https://x.com/greggman/status/2104533425478930568

https://greggman.github.io/webgpu-aquarium/ (102k - several fish, different ocean styles)

note: iOS in particular is really slow to start up these.

Maybe it's all AI slop. None of them are fun games, they're just tech demos.

The interesting things are they are all small. All assets are built at startup. They aren't using any libraries. That suggests there is lots of low-hanging fruit for quick to start web-games.

Telling the LLM to build from scratch and follow AAA practices frees the LLM to use whatever is appropriate, rather than whatever some library dictates. The LLM was also good at optimizing, at least to an extent. It would run experiments, turning features on/off to find where the speed was going. It would also do A/B screenshots to see how much changing techniques effected the output.

Each demo from prompt to first output took 2-3 hours and then a few prompts in my free time to clean up the most outstanding issues.

One thing that helped a bunch was telling the LLM to model cars using NURBS instead of polygons. Another was telling it to have a separate modeling agent, and a separate judging agent.

None of the demos are perfect. They got to a point where I was happy that they showed want I wanted to see. I wasn't planning to take them to perfection. The gen-city-auto demo has the most issues. While it made a giant city, there are lots of places where a road makes no sense. I could prompt through that but all I really wanted to see was a GTA like city in a small amount of code and for that it proved the concept is valid. Given ways for a designer to declare what they wanted where I could see the concept generate much more "designed" cities.

comment 1mo ago · link · parent

It's great to love programming. I started in the late 70s.

That said, I'm also fully enjoying letting AI help me solve problems.

Here's one: I study Japanese. I used jisho.org for years (A Japanese/English dictionary). I ran into a problem ~2 weeks ago where I needed to look up a word and used their handwriting recognition to sketch a kanji. I got a single stroke wrong and it gave no matches. I checked if it was open source. No

So, I asked AI (Claude) to make something similar. I asked it to shard the dictionary so I wouldn't need a database and I could serve it from github pages. Less than 2 hours later it was done and useful.

Since then I had it add camera support, FSRS flashcard support, and online syncing so I can add and practice from any of the 5-6 machines I touch every day

You can use it if you want here: https://g-sho.org

That said, the bigger takeaway IMO is you can have LLMs make most solutions you need in just a couple of hours. If there is some app / service you use that you wish was different, ask for it and you'll have it.

I'm not saying you shouldn't enjoy programming. I'm just saying I also enjoy this new activity of making solutions quickly. Kind of like making before 3d printers and laser cutters vs after. So many things got easier.

As another example, I needed to capture audio from my Mac's system which Apple's built in capture does not support. OBS was recommended but OBS has a difficult UX. Kap was recommended but it was sus AF. So I asked Claude to build what I needed. 4 minutes later I had a native app that did exactly what I needed (https://github.com/greggman/g-cap). Not saying you should use it. Just showing it as an example of "ask for what you need and get it"

comment 2mo ago · link · parent

A non-live map for trains in Tokyo

https://greggman.github.io/tokyo-trains

I think the live map is cool but (1) I don't know where to get that data and (2) seeing things at 100x speed is, IMO, more interesting as a visual

It's based off schedules but only Toei's schedules are easy to get (AFAICT). I got permission for the most of the others, but I thought the visual was good as is ... mostly. Maube I'll revisit.

comment 3mo ago · link · parent

I can certainly imagine one that's better. One that catelogs all the images using better AI that apples and lets me do complex searches "Dog at beach", "Joey in red shirt with Jane"

comment 3mo ago · link · parent

The Photos app does not need permission any more than any other Photos app. It can ask "Photos app wants to access your photos" and you can click "Always", "Selected Photos", "No" and download some other app to access your photos. That would be the "equal" thing to do. Let the user pick what app they want to access their photos with.

Same with the Camera App. It can ask "Camera App wants to access your Camera" and you can say "No" and then download some other camera app and make that your default and grant it camera permission.

comment 3mo ago · link · parent

In Japan (not sure in other countries), I went to the Apple Store. They said to complete the purchase, use the Apple Store app and scan this QR code on their device. I did and it immediately wanted me to share a ton of info with the main highlighed button "Share Now" and in small lettering below that "customize and share", where in you can see all the stuff they were going to take.

Apple, That's Privacy

https://www.youtube.com/watch?v=kb9vJq4gQOw

9.

Show HN: Tokyo Trains(greggman.github.io ↗)

13 points · by greggman65 · 3mo ago · 2 comments

comment 5mo ago · link · parent

I wrote this one, a year after that video, inspired by it

https://greggman.github.io/doodles/sort

Browsers (and machines) were slower then so it didn't finish as fast as it does today. Also, it's hard to decide what steps to illustrate/count. Is a swap 1 step (swap) or 4 (load slot N to R1, load slot M to R2, store R1 in M, store R2 in N) etc...

comment 5mo ago · link · parent

I depends on your definition of "working on" :p

A worked on a 3d asset generator with nodes (like Blender/Houdini)

https://greggman.github.io/sedon/

I worked on a couple of design generators

https://github.com/greggman/design-new-tab-page/

https://github.com/greggman/gdp-gen/

comment 5mo ago · link · parent

I don't know if this was my "Oh Shit" moment but 4 weeks ago I thought'd I'd try vibe coding a WebGPU 3D Node Based Editor.

https://github.com/greggman/sedon

It was just an experiment and I probably won't work on it more but still, I was blown away with how far we got. There's a quite a bit we worked through even though it was only part time of those 4 weeks.

13.

Show HN: Sedon – node based 3D generation(github.com ↗)

5 points · by greggman65 · 5mo ago · discuss

comment 7mo ago · link · parent

> Quake made PVS famous. It’s still useful in some indoor games where the scene geometry is static and bake time is acceptable.

It was used extensively in outdoor games like Jak and Daxter.

comment 7mo ago · link · parent

It’s a WebGL issue, fixed in WebGPU.

Browsers generally only allow a fixed number of WebGL contexts per page. So a generic element effect library has the issue that too many elements some will start losing contexts. The workaround is to just make one large screen size canvas and then figure out where the elements are you need to draw an effect for. now you only have one context drawing all the elements. But, you can’t know where to draw until the browser scrolls and renders so you’re always one frame behind.

https://webgl2fundamentals.org/webgl/lessons/webgl-multiple-...

WebGPU doesn’t have this issue. You can use the same device with multiple canvases

https://webgpufundamentals.org/webgpu/lessons/webgpu-multipl...

16.

Show HN: Equirect – a Rust VR video player(github.com ↗)

14 points · by greggman65 · 7mo ago · 1 comment

comment 9mo ago · link · parent

I think this is a good example of something you can vibe-code today. (though maybe not as good)

I went to gemini, picked "cavnas". used this prompt

> There's a famous CG scene in the movie Hackers where they "Hack the Gibson". It shows a bunch of translucnt cubes with glowing edges. The textures on the cubes are live computer text. The camera slowly flyies between the cubes tilting gracfully and it searches for the main one.

> Reproduce this scene in Javascript. Be sure to include each of those features

> 1. live computer text which you can simulate by drawing to a canvas offscreen and uploading to a texture, adding more output as it goes. You can even use "function.toString()" of the code you write as input

> 2. a post processing step so we get a glow

> You can probably use three.js for this

Here's the result.

https://codepen.io/greggman/pen/XJKPBZW

No, it's not as good as the site linked above and it's unlikely it would be. On other hand, it got this far on the first try. Maybe a few more iterations and it could get the stuff you want.

comment 10mo ago · link · parent

I didn’t put nearly as much effort as this post into shape matching but I did try a few other things like

Non-ascii, I tried various subsets of Unicode. There’s the geometric shape area, CJK, dingbats, lots of others

Different fonts - there are lots of different monospace fonts. I even tried non-monospaced fonts tho still drawn in grid

ANSI color style https://16colo.rs/

My results weren’t nearly as good as the ones in this article but just suggesting more ways of exploration

https://greggman.github.io/doodles/textme10.html

Note: options are buried in the menu. Best to pick a scene other than the default

comment 10mo ago · link · parent

this is why when I my sister wanted a website I just pointed her at substack. She was posting immediately

comment 10mo ago · link · parent

No. Just like Owl City isn't his real voice. If the song is good I don't personally care.

Most of the music I like is loops pasted together in some DAW. Sure, it requires taste to make a good song but if AI figure out how to replicate that taste can crank out catchy tunes I wouldn't have a problem with it. I can only guess though that too much of a good thing will lead to be getting bored with it ... maybe.

It's not like most pop music isn't formulaic. I enjoy the currently popular songs from K-Pop Demon Hunters but they're so cliche, if they turned out to be AI generated I wouldn't be surprised :P

comment 10mo ago · link · parent

I've never made one of these so I have no idea what all the issues are but I feel like I want it to act like presentation software. I want to be able to connect boxes with lines/arrows, then drag the boxes and have the lines stay connected to the boxes. I probably also want group things like I can in most structured drawing programs. Maybe that doesn't work well with ASCII

Like a simple example, I expect if have a object selected and press Cmd/Ctrl-C, Cmd/Ctrl-V I get a duplicate.

These interactions seem like basic table stakes

comment 10mo ago · link · parent

maybe there is more going on here but it's relatively easy to make a text post processing shader and apply it to anything, 3d scene, a video, etc...

https://post-processing.tresjs.org/guide/pmndrs/ascii

https://forum.babylonjs.com/t/ascii-shader-using-glsl-postpr...

https://threejs.org/examples/?q=ascii#webgl_effects_ascii

https://fwdapps.net/l/asci/

https://codesandbox.io/p/sandbox/ascii-postprocessing-n628p8...

https://www.youtube.com/watch?v=NxeRcnLr0ko

comment 10mo ago · link · parent

Rust and Python appear to still long lived ones so it's only a matter of time until they get the same issues it would seem?

comment 10mo ago · link · parent

There's several of these on shadertoy

https://www.shadertoy.com/results?query=crt

I made a Pico-8 post processing script using a few

https://greggman.github.io/pico-8-post-processing/nano-villa...

also an article on starting one on WebGPU here

https://webgpufundamentals.org/webgpu/lessons/webgpu-post-pr...

comment 11mo ago · link · parent

I have something tangentially similar here: https://jsgist.org

If you click save you get the option to use a URL.

The problem with a URL every edit is a new URL. So you send the URL to a friend, then fix a typo, they need a new URL.

The other problem is of course the space limit.

comment 11mo ago · link · parent

This seems tangentially related?

https://github.com/google/toucan

comment 12mo ago · link · parent

Those have nothing to do with "what the browser exposes". They are exposed regardless of what you use to connect.

comment 12mo ago · link · parent

that site is just as bad at giving probably false numbers that are several orders of magnitude off

comment 12mo ago · link · parent

that site has the same issue. It will give ridiculous and easily provably false results for iPhones.

There are ~40 million in the PST time-zone. Some percent have smartphones (80%+), ~50% of those are iPhones (16 million). Of those, the majority are set it English (80%+), and are divided into screen sizes. But basically, if you have an iPhone, you have the same fingerprint has at least a million other other people in the PST time size. You are at best, 1 of 100, not 1 of x,xxx,xxx,xxx.

You might be x,xxx,xxx,xxx of people who visited that unpopular site but no one needs tracking on an unpopular site. On a popular site you will not have a unique finger print.

comment 12mo ago · link · parent

There's a mis-understanding of at least the Graphics part. For example WebGPU features. It looks like lots of info

https://webgpureport.org/

But, they are bucketed

https://www.w3.org/TR/webgpu/#privacy-considerations

It's not zero pieces of info but it's also not close to as bad as it looks. Effectively, everyone who has, say an NVidia GPU, will likely have the same list of features and limits.

As a more general example: The number is just a flat out wrong

> Unique to 1 in 2,147,483,648+ devices.

No, I have an iPhone Pro and am in the PST time zone, set to English. It has the exact same finger print as millions of other devices among the 40 million people in the PST time zone. In general, The only things different between 2 iPhones of the same model are time-zone, laguange setting, and font size.

Please STOP EXAGGERATING!

12