Rayshader 1.0: Exit the Matrix

(tylermw.com)

84 points | by tylermw 12 hours ago ago

11 comments

  • phpp 5 hours ago 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.

  • vintagedave 11 hours ago 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 8 hours ago 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 6 hours ago ago

    Very cool to see all the new stuff in this release! FYI the bibliography video is broken for me (browsing on iPad).

    • tylermw 6 hours ago ago

      Thanks for letting me know--it should be fixed now (confirmed the issue and fix on an iPhone)!

  • augment_me 6 hours ago ago

    Sorry, but respectfully why would you ever use this against just having Claude one-shot it in ThreeJS, Raylib or something? Someone who refined the project with prompts can deslop the same thing in some hours, most of my peers who work in this area already do it in this way

    • KeplerBoy 5 hours ago 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.

    • striking 5 hours ago 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 5 hours ago 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 4 hours ago 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.

  • qiradev 6 hours ago ago

    [flagged]