This project generates images showing a side view of the cave. It was created while I was messing around with different assets for the background of one of my projects.

Keys

  • R new cave 
  • S save PNG 
  • 1–4 presets, 5 for a random set
  • Tab cycle panels 
  • I this panel
  • Esc close

The panels

  • Look — presets, the palette, the dither.
  • Shape — cavern generation parameters.
  • Light — light source parameters.
  • Canvas — canvas size and export parameters.

Palettes

Import straight from lospec.com with a slug or a full URL, or paste a hex list.

Additional checkboxes allow you to Sort by luminance, and Ramp curve changes the value-to-colour mapping when a palette's steps are unevenly spaced. You can also name your palette to load next time you generate a cave.

Saving a setup

The Canvas panel exports all parameters as one JSON file. Use it to pass the configs around, or save with the image. Reset returns everything to the defaults.

Credits

Icon Underground cave by Delapouite from game-icons.net, used under CC BY 3.0.

Interface palette JustParchment8 by JustJimmy.

AI usage disclosure

The code was produced with Claude Code assistance. No generative AI was used to create any of the assets.

Published 6 days ago
StatusIn development
CategoryTool
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
Authorvuvko
Tags2D, Generator, Pixel Art, Procedural Generation
Code licenseMIT License
AI DisclosureAI Assisted, Code

Download

Download NowName your own price

Click download now to get access to the following files:

cave_gen_v1.0.zip 20 kB

Development log

Comments

Log in with itch.io to leave a comment.

This is amazing!

this is an amazing tool, thank you so much

Nice stuff! Good ideas for configurations and tabs. I will try using this for game backgrounds. Would be cool to see a generator in any of the following: Plains/Field, Winter/Ice cave, Ocean/Horizon, Tech City, etc. all with day/night and color options. 

Thanks for the interest! Those seem like separate generators, and I will look into it when I have time.

In the meantime, I suggest looking through watabou’s amazing generators; an art generator by Deep-Fold may also interest you.

Thanks for the reply!

Any chance of a exe.

This whole generator is a single HTML file. To overcome the itch.io UI, I’ve uploaded a zip-compressed version of the file.

Thanks for the exe

How do people take something from someone and be condescending about it while it's in their hands.