Catalog
Catalog
Every object and pattern, what each one means, and every prop it takes.
Sinua has two objects. Each has a set of patterns: the looks it can take. Pick the object by what you're showing, and the pattern by what's happening.
| Object | Shows | Patterns |
|---|---|---|
| Orb | voice agents and assistants | 17 |
| Signal | light volumes for a voice, a value or a status: levels, progress, quality, searching, voice messages | 10 |
Every object takes the same materials, colour and speed & size props. The tables on each object's page are generated from the engine's parameter catalog, so they are always current.
You can read that catalog yourself — parameterCatalog() from @sinua/core/dev returns the same data these tables are built from, so a tool of your own can list a pattern's props, their ranges and their defaults without hard-coding anything. @sinua/core/dev is the entry for tools, previews and tests; your app doesn't ship it unless you import it.
import { parameterCatalog } from "@sinua/core/dev";
const catalog = parameterCatalog();
const orb = catalog.objects.find((o) => o.id === "orb")!;
const breathing = orb.patterns.find((p) => p.id === "breathing")!;
for (const { ref, default: byPattern } of breathing.params) {
const d = catalog.definitions[ref];
console.log(d.path, d.type, `${d.min}–${d.max}`, "default at 64:", byPattern["64"], "—", d.description);
}