voxolith
API reference

@voxolith/gen-grass

@voxolith/gen-grass: procedural voxel ground cover.

A patch is many independent blades, not one connected object: tufts are scattered over a disc, each tuft fans a handful of blades out of the ground, and every blade is a single stem one voxel thick that arcs over under its own weight. Unlike a tree, the result is deliberately many pieces — it is ground cover, and each blade only has to reach the ground.

Branch growth, rasterisation and noise come from @voxolith/gen-kit.

Interfaces

Type Aliases

Variables

Functions

On this page