by greggman65 · 2w ago · 0 comments
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.
Sure, probably, but as long as you're having fun, and you get to experiment at a velocity (due to vibe coding) that is probably unprecedented.
I also think there may be some inherent problems with just supporting games in WebGL/wasm etc, because you're still within the constraints of a browser. You still have to pass through a JS glue layer for every WebGL call, for example, not to mention the data marshaling costs.
The cool thing is that you can reach literally anyone with a web browser, however.