For a library for procedural content generation, the first results are mxgmn/wavefunctioncollapse, seblague/procedural-landmass-generation (This Unity project provides code and assets for generating procedural landmasses with noise-based terrain, matching the terrain generation part of your search, though it does not cover dungeon generation, L-systems, or texture synthesis) and ashima/webgl-noise (ashima/webgl-noise provides procedural noise shader routines, which is a focused noise generation library directly relevant to algorithmic content creation, though it is limited to noise and does not cover other generation techniques like terrain or dungeons). 00-evan/shattered-pixel-dungeon and watabou/pixel-dungeon round out the shortlist. Compare the match explanations and check the project documentation against your requirements.
Explore the best procedural generation tools for your projects. Compare top-rated libraries by activity and features to find the best fit for your code.
WaveFunctionCollapse is a procedural generation engine that creates complex, non-repeating patterns by treating spatial arrangement as a constraint satisfaction problem. It functions as a stochastic solver that derives output structures from a single input example, ensuring that every element placed within a grid satisfies specific adjacency requirements relative to its neighbors. The system distinguishes itself by using an entropy-driven approach to grid collapse, where it iteratively selects the cell with the fewest remaining possibilities to trigger a cascade of logical updates. By decompo
This repository is a focused implementation of the Wave Function Collapse algorithm, a constraint-based procedural generation technique that creates patterns from examples, making it directly relevant for game development or art—but it does not cover other requested features like terrain generation or L-systems.
This project is a procedural content generation framework and three-dimensional mesh generation library designed for the Unity game engine. It provides a system for automating the creation of complex landscapes and natural environments by programmatically constructing geometric terrain surfaces and heightmaps. The generator utilizes layered noise functions to calculate elevation values, which are then translated into terrain geometry. To maintain performance during real-time rendering, the system employs chunk-based mesh generation and dynamic level-of-detail management, which adjusts geometr
This Unity project provides code and assets for generating procedural landmasses with noise-based terrain, matching the terrain generation part of your search, though it does not cover dungeon generation, L-systems, or texture synthesis.
WebGL Noise is a library of shader routines designed for procedural graphics generation within the browser. It provides a collection of mathematical functions that allow developers to calculate noise patterns directly on the graphics processing unit, eliminating the need for external image assets or pre-computed data textures. The library focuses on the implementation of standard noise algorithms, including simplex, classic, cellular, and periodic patterns. By executing these calculations as stateless functions within the shader pipeline, the project enables the creation of dynamic, evolving
ashima/webgl-noise provides procedural noise shader routines, which is a focused noise generation library directly relevant to algorithmic content creation, though it is limited to noise and does not cover other generation techniques like terrain or dungeons.
Shattered Pixel Dungeon is an open-source roguelike dungeon crawler built as a turn-based strategy game. It features procedurally generated levels, hundreds of collectible items, and permadeath mechanics, all rendered from a single Java codebase that runs on Android, iOS, and desktop platforms. The game offers six distinct hero classes, each with branching subclass trees, endgame abilities, and talent points for deep character customization. Players battle over 60 enemy types, 30 traps, and 10 bosses across five dungeon regions, while managing equipment, enchantments, and alchemy-crafted gear
Shattered Pixel Dungeon is a complete roguelike game that uses procedural generation for its levels, but it is a standalone application, not a reusable library or toolkit that you would integrate into your own projects for algorithmic content generation.
Pixel Dungeon is a browser-based roguelike game and turn-based RPG focused on exploring procedurally generated dungeons. It utilizes a retro pixel-art aesthetic to deliver a dungeon-crawling experience directly within a web browser. The game centers on procedural dungeon generation, creating unique, maze-like labyrinths for each playthrough. Gameplay is driven by turn-based combat and movement on a grid, where the player and enemies interact in discrete steps.
Pixel Dungeon is a complete roguelike game that procedurally generates dungeons, not a reusable library or toolkit that you would integrate into your own projects to generate content algorithmically.
NetHack is a roguelike dungeon crawler and ASCII-based role playing game. It is a turn-based adventure game featuring permanent character death and the exploration of randomly generated dungeons. The project serves as a cross-platform game engine designed to be compiled and run across diverse operating systems and hardware architectures. It focuses on retro game preservation by maintaining classic game logic for modern computing environments. The codebase implements procedural content generation for maps and encounters and utilizes a grid-based coordinate system for spatial tracking. Renderi
NetHack is a classic roguelike game that uses procedural generation for its dungeons, but it is a standalone application rather than a reusable library or toolkit for generating content, which is what this search asks for.
Bild is an image processing library implemented in the Go programming language. It provides a collection of algorithmic engines for image manipulation, including a convolution kernel engine for filtering, an image blending tool for layer composition, and a procedural noise generator for creating synthetic textures. The project is distinguished by its procedural generation capabilities, implementing Perlin, Gaussian, binary, and uniform noise algorithms to produce random pixel distributions and organic patterns. It also features a command-line interface that allows users to apply visual effect
Bild is primarily an image processing library that includes procedural noise generation for textures, but it lacks the broader terrain, dungeon, WFC, or L-system generation that this search typically expects for a dedicated procedural generation toolkit.
Processing is a creative coding environment and Java graphics library designed for writing visual sketches that produce interactive 2D and 3D graphics and animations. It runs on the Java Virtual Machine, using an OpenGL-based hardware-accelerated rendering pipeline, and operates on a sketch-based execution model where programs run as continuous loops of setup and draw functions with event-driven input handling for keyboard, mouse, and window interactions. The environment distinguishes itself as a cross-platform sketch tool that runs visual programs unchanged on desktop, web, Android, and Rasp
Processing is a general-purpose creative coding environment and graphics library that provides low-level building blocks like Perlin noise and random number generation, but it is not a dedicated procedural generation toolkit — it lacks specific high-level generators for terrain, dungeons, L-systems, or wave function collapse that this search targets.
Veloren is an open-source multiplayer RPG featuring a voxel-based action adventure in a procedurally generated fantasy world. It is built upon a voxel game engine that supports 3D rendering via Vulkan and Metal, utilizing a procedural world generator to create geography and ecosystems based on erosion algorithms and temperature maps. The project is distinguished by a sandboxed plugin system using WebAssembly, which allows for the addition of new game logic and equipment without recompiling the core engine. It also features a dedicated game server architecture designed to synchronize state, ma
Veloren is an open‑source voxel‑based RPG game that uses procedural generation for its world, but it is a complete multiplayer game, not a library or toolkit that you can embed in your own projects for algorithmic content generation.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| mxgmn/wavefunctioncollapse | 24.7K | C# | other | |
| seblague/procedural-landmass-generation | 1.2K | C# | MIT | |
| 3K |
| C++ |
| MIT |
| 00-evan/shattered-pixel-dungeon | 6.2K | Java | gpl-3.0 |
| watabou/pixel-dungeon | 3.9K | Java | GPL-3.0 |
| nethack/nethack | 3.5K | C | — |
| anthonynsimon/bild | 4.2K | Go | MIT |
| processing/processing | 6.5K | Java | NOASSERTION |
| veloren/veloren | 7.1K | Rust | gpl-3.0 |