Groundwork is a lightweight landscape / site editor designed to organize the design data used by an agent to generate 3D outdoor models. For example, the user defines the paths of roads and the contours of the terrain, while the program calculates slopes and local topographical details.
It was born building i.ljm.im, where I want a simple and straightforward way to guide agents to generate site models, without the messiness of describing every single detail of the geometry to it (and it will make a really bad looking model if you try to do that). Groundwork is a tool to help me, the human, to organize the design data in a way that is easy for the agent to understand and use.
- An editor for various outdoor things, with some procedural generation capabilities. We only generate things you probably don't want to model by hand, and you can overwrite them if you want to.
- Checking if your design is valid in physical terms (not geographical).
- Essentially, it has infinite types of objects, because you can now draw a polygon and tell the agent how to generate it by attaching prompts to it. You can also use the built-in types of objects, which are just pre-defined prompts + some structured data guide.
pnpm install
pnpm devRun pnpm test to perform regression testing, and pnpm check to verify types and code.
The 导出 button in the editor's top bar saves a ZIP with a README, project metadata, NumPy arrays for terrain heights and surfaces, a terrain preview, and the design JSON.
You are welcome to contribute to Groundwork.
If you want to contribute, I recommend you improve the code quality, add new objects / functions, or fix bugs. You can also help me by reporting bugs and issues. This is not a requirement, but it would be very helpful.