| Crates.io | shapezlib |
| lib.rs | shapezlib |
| version | 0.1.0 |
| created_at | 2025-07-29 09:24:40.183677+00 |
| updated_at | 2025-07-29 09:24:40.183677+00 |
| description | Shape Prozessing Language |
| homepage | https://shape-z.com |
| repository | https://github.com/markusmoenig/Shape-Z.git |
| max_upload_size | |
| id | 1772102 |
| size | 1,497,327 |

Shape-Z is a recursive, voxel-based programming language inspired by GLSL and shader-like workflows. It is designed for the procedural generation of 3D worlds using simple, expressive code. Unlike traditional modeling tools, Shape-Z treats models as programmable entities—built from logical operations, shapes, and materials—executed on a virtual voxel grid.
⚠️ Shape-Z is in the early phase of development and its syntax and features may change.
At its core, Shape-Z offers a minimal yet expressive syntax to define:
Rect and Disc that define both the foundational volume within the voxel grid and the coordinate system (e.g., cartesian for Rect, polar for Disc), enabling context-aware modeling and pattern placement.Floor, Left) that subdivide space and define the UV/extrusion domain for patterns and hierarchical modeling.Bricks and Modulo that automatically adapt to the current subspace and UV layout.Sphere and Box, enabling precise volumetric modeling within segment-local coordinates.You write code that precisely defines how space is filled, using recursive structure, branching logic, and procedural evaluation. This gives you full control to build efficient, high-resolution geometry with minimal, expressive input.
The lighthouse model shown above consists of ~11 million voxels and is fully generated in under a second (at a density of 50 per tile).
Shape-Z supports configurable voxel density, allowing you to repurpose the same model for pixel art or high-resolution mesh export.
.obj format for integration in 3D engines and pipelines.Shape-Z is ideal for game developers, artists, and procedural generation enthusiasts seeking a fast and expressive tool for creative modeling.
For examples and documentation please visit the Website.
Shape-Z is dual-licensed under the same terms as Rust:
You may choose either license to use Shape-Z according to your needs.
