Log inGet started
World

Car Forge: Procedural Car Generator and Traffic Fleet Kit

Branchmain
Branchesmain
Commit98552b9f03

README.md

generator

The core of seedKit: define({ kit, version, settings, presets, rules }) makes a generator from data. A generator resolves a seed with a preset and locked settings into a plain-data description (describe, random), lists its settings with ranges, defaults and groups (settings, groups, presets), checks a description and reports what is wrong (check), fingerprints it (fingerprint, optionally ignoring settings) and turns it into a short code and back (encode, decode, fromCode). Settings can take ranges that depend on earlier settings, which keeps designs coherent. Called by generator kits such as Car Forge's schema.