Rendered at 05:56:34 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
phpp 1 days ago [-]
This is super cool, congratulations on 1.0!
I've been building something similar with https://worldkit.build. It's a pipeline that turns OpenStreetMap, USGS elevation and lidar data from the U.S. Geological Survey into an open world game in Godot (starting with San Francisco). I then use LLMs to model individual buildings, which was pretty successful in a previous project https://grandtreasureisland.vercel.app.
Your detailed write-up is very helpful. I encountered similar problems with interchanges, ramps and water level, and I may end up borrowing some of your solutions. ;-)
One question: have you tried using USGS 3DEP lidar point clouds for roads as well? I use them to set the height of elevated freeways in downtown San Francisco. I still haven't got the ramps to join up nicely, which is where your solver comes in.
allthetime 1 days ago [-]
Neat!
The loading process was… not good though, on an iPhone. You need to add some progress bars. I have a fast connection but it just hangs around compiling shaders for a long time not giving you an idea of how long that will take and then I got hit with “gl context lost please refresh page” error prompt and then I did and it loaded much faster but then force reset the page near the end of loading and then did it all over again. Finally, I was dropped into the game (which looks and feels good)
jszymborski 24 hours ago [-]
Clearly so much love went into this, congrats. It's a heart-warming thing, esp. today.
People clown on R and its performance (I might have done this once or twice), but projects like these go to show that it's just a skill issue.
epihelix 22 hours ago [-]
R grows on you :)
Also, if you need speed for a function, there's Rcpp.
tylermw 8 hours ago [-]
Yep, it’s great lispy language with all the power of SEXPs without all the parentheses!
vintagedave 2 days ago [-]
I know very little about R (mostly just seen colleagues use it for their data analysis) but wow, this is an impressive package.
There's a line there about beauty being table stakes and I think it shows.
tylermw 1 days ago [-]
Thanks! Beauty and taste is still one place where it's critical to have a human in the loop, and in the age of AI slop, it's even more important than ever to make whatever you're presenting stand out. The floor has been raised and anyone can make a detailed, professional-looking data visualization nowadays with AI, but the underlying tools and person behind the screen ultimately determines the ceiling.
jcheng 1 days ago [-]
Very cool to see all the new stuff in this release! FYI the bibliography video is broken for me (browsing on iPad).
tylermw 1 days ago [-]
Thanks for letting me know--it should be fixed now (confirmed the issue and fix on an iPhone)!
1 days ago [-]
aghuang 1 days ago [-]
This looks cool, great post
qiradev 1 days ago [-]
[flagged]
augment_me 1 days ago [-]
[flagged]
KeplerBoy 1 days ago [-]
What do you think those LLMs were trained on? Yes, you can one-shot that nowadays and probably get something that appeals more to your taste with a few follow up promopts. This is the way things are going inevitably, but don't forget that basically all of humanity's knowledge and output made that possible.
Shoulders of giants and all that.
augment_me 1 days ago [-]
[dead]
epihelix 22 hours ago [-]
Have you worked with geospatial data? It's not entirely that straightforward.
You wouldn't use three.js, you'd use Cesium Ion. But even then, it wouldn't be as neat as this. Nor would it be as scriptable and extensible, or slot right into your geospatial workflow.
striking 1 days ago [-]
Why spend the money and time waiting for the LLM to stumble its way through a shoddy implementation you have to deslop when you can use a library that already has sane defaults? I'm curious how it'd go for you if you wanted your roads to look halfway decent from the available data without essentially replicating this package.
Seems a false dilemma to me when you could point the LLM at a library and get your desired output in minutes rather than hours (and potentially improve the library for folks if it doesn't produce your intended result exactly).
augment_me 1 days ago [-]
The author admits the real time sink is still data prep ("loading geospatial data is always a pain. Nothing I can do about that!") and that the road solver still need work, so pointing an LLM at the library doesn't solve everything either. Also a library has to solve the general case while a one-off deliverable only has to look right from one camera angle. If the goal is visualizations on a website that are supposed to grab a viewers attention or explain something, it doesn't make sense to bundle together 250MB of R-libs IMO.
tylermw 1 days ago [-]
LLMs are great at data ingestion, but far less reliable at creating beautiful output. Tools like rayshader cut down the model’s creative degrees of freedom, which is exactly what it needs to get good artistic results consistently. And you don’t have to bundle those libraries with the output. They’re what you use to generate it.
You could probably one-shot a convincing terrain demo. forge3d (https://github.com/milos-agathon/forge3d) is already an attempt to vibe-code a Python recreation of rayshader. Getting to parity means recreating or integrating the whole spatial data stack, from projections and raster alignment to vector overlays, meshing, and 3D rendering. That gets complicated fast once you start throwing real data at it. The repo’s commit history gives you a sense of what “vibe-coding rayshader” actually entails.
Separately, the roads in rayshader generally look good out of the box. They don’t have to be perfect to be useful.
gspr 21 hours ago [-]
This is hacker news. A place where things hacker types enjoy are presented.
Imagine someone carefully crafted a computer from individual transistors or something. It makes it to hacker news. It's a thing of astounding beauty. Then you come along and say "I found something similar on aliexpress for $1, why would I ever use your thing?"
You're everything that's wrong with where the world is going. You make me sad.
I've been building something similar with https://worldkit.build. It's a pipeline that turns OpenStreetMap, USGS elevation and lidar data from the U.S. Geological Survey into an open world game in Godot (starting with San Francisco). I then use LLMs to model individual buildings, which was pretty successful in a previous project https://grandtreasureisland.vercel.app.
Your detailed write-up is very helpful. I encountered similar problems with interchanges, ramps and water level, and I may end up borrowing some of your solutions. ;-)
One question: have you tried using USGS 3DEP lidar point clouds for roads as well? I use them to set the height of elevated freeways in downtown San Francisco. I still haven't got the ramps to join up nicely, which is where your solver comes in.
The loading process was… not good though, on an iPhone. You need to add some progress bars. I have a fast connection but it just hangs around compiling shaders for a long time not giving you an idea of how long that will take and then I got hit with “gl context lost please refresh page” error prompt and then I did and it loaded much faster but then force reset the page near the end of loading and then did it all over again. Finally, I was dropped into the game (which looks and feels good)
People clown on R and its performance (I might have done this once or twice), but projects like these go to show that it's just a skill issue.
Also, if you need speed for a function, there's Rcpp.
There's a line there about beauty being table stakes and I think it shows.
Shoulders of giants and all that.
You wouldn't use three.js, you'd use Cesium Ion. But even then, it wouldn't be as neat as this. Nor would it be as scriptable and extensible, or slot right into your geospatial workflow.
Seems a false dilemma to me when you could point the LLM at a library and get your desired output in minutes rather than hours (and potentially improve the library for folks if it doesn't produce your intended result exactly).
You could probably one-shot a convincing terrain demo. forge3d (https://github.com/milos-agathon/forge3d) is already an attempt to vibe-code a Python recreation of rayshader. Getting to parity means recreating or integrating the whole spatial data stack, from projections and raster alignment to vector overlays, meshing, and 3D rendering. That gets complicated fast once you start throwing real data at it. The repo’s commit history gives you a sense of what “vibe-coding rayshader” actually entails.
Separately, the roads in rayshader generally look good out of the box. They don’t have to be perfect to be useful.
Imagine someone carefully crafted a computer from individual transistors or something. It makes it to hacker news. It's a thing of astounding beauty. Then you come along and say "I found something similar on aliexpress for $1, why would I ever use your thing?"
You're everything that's wrong with where the world is going. You make me sad.