iggi.dev provides a lightweight toolkit for generating realistic moss and vegetation in real-time 3D environments. Control density, spread patterns, color variation, and surface adhesion with simple parameter tweaks.
import { MossGenerator } from 'iggi';
const moss = new MossGenerator({
density: 0.72,
spread: 'organic',
colorVariance: 0.3,
surfaceAdhesion: 0.85
});
moss.attach(scene.terrain);
moss.grow();
The core class for procedural moss generation. Manages growth simulation, rendering, and parameter updates.
Binds the generator to a 3D surface mesh. Analyzes normals and curvature for optimal moss placement.
Initiates moss growth simulation. Returns a Promise that resolves when the initial growth cycle completes.
Updates moss density in real-time. Value between 0.0 and 1.0. Triggers a smooth transition.
Exports the generated moss as geometry data. Supports 'gltf', 'obj', and 'fbx' formats.
iggi.dev is a procedural moss and vegetation generation toolkit for games and 3D environments. Built for real-time rendering pipelines.
v0.9.3 · 2026