Log inGet started
Package

nordicSuburbKit.package

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

README.md

geo

Merged-geometry builder used by every nordicSuburbKit generator (and busLineKit): boxes, rounded boxes, cylinders, tapered tubes, discs, gable roofs and quads with vertex colours and tiling UVs, collected into one runtime mesh per builder. Geo.cached(key, fn) shares identical meshes between props so they draw instanced; Geo.rng(seed) gives the same numbers on every machine.

G:blob(cx, cy, cz, sx, sy, sz, ev, eh, rings, segs, col) builds a soft superellipsoid (1 = ellipsoid, about 0.3 = rounded box); col may be a function of the surface point (-1..1 per axis) to paint windows or bands onto the curve.