Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

Claude Code Builds 700-Star-System Space Exploration Demo

AI summary

Reddit user lighght reports using Claude Code to build Post Apocalyptic Space Cruise, a browser-based WebGL2 demo with 700 freely explorable star systems and a final HTML file of about 28 KB. Claude Code generated the rendering code, procedural planets and textures, and synthesized audio, while the developer supplied prompts and follow-up revisions. The free demo runs in desktop and mobile browsers, though the developer says it still contains glitches and has fiddly mobile controls.

In-depth insight

The project provides a concrete, playable showcase of Claude Code’s reported ability to assist with procedural graphics, audio generation and browser-game development, while its quality and development process remain self-reported.

Try it in your browser | Source code on GitHub Free to play, nothing to install. Runs in the browser on desktop and mobile. After seeing the 97 KB underwater world posted here recently, I wondered whether the same technical approach could work for a little 3D space exploration demo. So I prompted Claude Code to build one. The result is Post Apocalyptic Space Cruise, a procedurally generated galaxy with 700 star systems that you can freely explore. You'll encounter red dwarfs, sun-like stars, white dwarfs, neutron stars, supergiants, black holes, gas giants, rocky planets, and moons. As deep space contains a whole lot of nothing, you can travel relatively fast between stars, but slow down automatically when approaching celestial bodies. You can also adjust your ship's speed manually. The star and planet distributions are based on the generation formulas from WHERE ARE THEY?, a little 2D space exploration roguelike I've been developing. How I built it with Claude Code: My initial prompt described the technical approach and the kind of space exploration experience I had in mind. Claude Code generated the WebGL2 rendering code, procedural planets and textures, and synthesized audio. It took a few follow-up prompts to get the star/planet distributions closer to my existing game and to improve the travel speed and controls. The initial HTML file was about 26 KB. After adding some metadata and other little adjustments, the final file is around 28 KB. All the 3D visuals and sounds are generated directly in your browser, without pre-made 3D models, texture files, or audio files. The start screen does load a separate GIF and font. The demo still has some glitches, and the mobile controls are a bit fiddly. Older phones might also struggle with the higher graphics settings. Anyway, it was a fun little experiment, and I'm curious what you think! :) submitted by /u/lighght [link] [comments]

#Claude Code#Post Apocalyptic Space Cruise#WHERE ARE THEY?#WebGL2

Original · 1 min readRead the original
Group chat

No comments yet. Start the conversation.