Log inGet started
Package

IslandRules.module

This package holds more than this page lists. See all of its files in its world.

README.md

IslandRules

What grows and lies where on an island: rule layers (palms, shrubs, ground cover, rocks, cliff faces, coral, sea grass, tide-line litter) on a jittered grid, decided by the island's own height, depth, shore distance, cliffiness, reef, slope, path and grove. Leaning palms lean out to sea; coconuts drop at the foot of coconut palms. Deterministic: Rules.scatter(field, grid, plan, { density, kinds, keepClear }), Rules.fingerprint(instances). keepClear (circles { x, z, r }, boxes { x, z, w, d, yaw }) are areas nothing is placed in; Rules.clearAreas(list) and Rules.inClear(areas, x, z) test a point against them.