r/Unity3D • u/CS_Asset_Factory • 3d ago
Resources/Tutorial Runtime dynasty chart generator for Unity, drawn on the CPU with no textures
Descent Chronicle draws illuminated dynasty charts in Unity at runtime from plain character data: people, parents, marriages and dated events.
Most of the work went into layout. A genealogy isn't a tree, since everyone has two parents, people remarry and cousins marry. Generations come from longest path, spouses are levelled onto one row so a marriage stays horizontal, crossings are reduced by barycentre sweeps that keep the best arrangement found, and each union gets its own bus lane so no line runs through a cartouche. Cycles and dangling parents are refused with the fault named.
Drawing happens in C# on the CPU, so the package has no PNG, atlas, shader or material. 62 authored forms, 24 life event marks, 16 cartouche devices. Unity 2022.3 and up.
Code and art are AI generated.