# runevision/layerprocgen

> LayerProcGen is a framework for layer-based procedural generation that is infinite, deterministic and contextual. It does not include any generation algorithms itself. Instead, it tracks dependencies between generation processes that work on chunks arranged in a horizontal or vertical plane. It works in Unity and in any C#-compatible engine, and it is written in C#.

Source: https://github.com/runevision/layerprocgen
Indexed: commit 4431a62 on 2026-06-19 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Language: C#
- Stars: 519 at index time
- License: MPL-2.0
- Code health: 8.3/10, Good
- Last commit: 2026-06-18

## How it works

Input enters as the layer and chunk class pairs that you write for each data layer, and these hold your generation logic. The Src directory holds 68 of the repository's 111 files and contains the framework code that tracks dependencies, generates chunks on demand and runs the work in parallel. Chunks in one layer can be much larger than chunks in another layer. Each layer keeps a strict separation between its input and output, which allows context-based operations to run across chunk boundaries. Documentation/GettingStarted.md covers setup in Unity, and Documentation/ContextualGeneration.md explains contextual generation. The Samples directory holds 25 files, and .github/workflows/main.yml is the entry point the index found for the repository.

- .github/workflows/main.yml: entry point
- CHANGELOG.md: central file
- Documentation/ContextualGeneration.md: central file
- Documentation/EffectDistance.md: central file
- Documentation/GettingStarted.md: central file
Modules: Src, Samples, Documentation, root, .github. 111 files, 9,586 lines, 1,576 symbols.

## Code health

- Score: 8.3/10 (Good)
- Rank: #53 of 4,000+ indexed repos
- Hotspots: none
- Lowest file: Src/LayerProcGen/ChunkBasedDataLayer.cs
- Dead code: 59 findings

## Maintenance

- Last commit 2026-06-18
- bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/runevision/layerprocgen/security

## More

- Page: https://repowise.dev/repo/runevision/layerprocgen
- Ask this codebase: https://repowise.dev/repo/runevision/layerprocgen/chat
- Docs: https://repowise.dev/repo/runevision/layerprocgen/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/runevision/layerprocgen
