boardKit.package
README.md
boardKit.render
Draws a boardKit board and its pawns at run time from data, so a board of any track, length, theme or pawn look can be swapped live. Render.board(parent, track, layout, theme, { seed, numbers, decor }) builds the slab, frame, inlay, the road along each route (with a bridge and rails where a figure eight crosses itself), every tile with its icon and number, ladders, slides, warp beads, the fork signpost and props round the edge, as a handful of vertex-coloured meshes. Render.pawn(parent, look, seat) spawns one seat's pawn (meshes cached per look and seat variant), with separate rotor entities for drones.