A ComfyUI custom node toolkit focused on providing several ways to procedurally generate images to be used as seeds for image-to-image (img2img) and ControlNet workflows.
The first node in this set is a procedural 2D landscape image generator using the Midpoint Displacement algorithm, as described in this blog post.
- Landscape Generator Node: Generates procedural landscapes with customizable styles.
- Algorithm: Faithful port of the iterative vertical midpoint displacement, 4 scaled terrain layers drawn back-to-front.
- Inputs:
seed,width,height,styledropdown,show_suntoggle. - Palettes: Twilight, Desert Dusk, Arctic, Forest, Volcanic, Ocean.
- Custom Mode: Fine-tune the RGB values for the sky, sun, and all 4 layers.
- Random Mode: Automatically generates random, seed-reproducible color palettes.
- UI: Includes a horizontal color swatch preview to easily see the current palette without rendering the image.
- Install ComfyUI.
- Install ComfyUI-Manager
- Look up this extension in ComfyUI-Manager. If you are installing manually, clone this repository under
ComfyUI/custom_nodes. - Restart ComfyUI.
To install the dev dependencies and pre-commit (will run the ruff hook), do:
cd procgen9000
pip install -e .[dev]
pre-commit install