Home
API: chem

Function: inBackbone()

lifecycle-kit

lifecycle-kit


lifecycle-kit / chem / inBackbone

Function: inBackbone()

inBackbone(template, backbone): Record<string, number>

Defined in: chem/biochemistry.ts:197

The formula for a tissue, expressed in this world's backbone.

Templates are written in terms of a backbone atom rather than carbon specifically, so the same tissue means the same thing structurally on any world — a "protein" is a chain with nitrogen and sulfur attached, whatever the chain is made of.

Parameters

template

Record<string, number>

backbone

Backbone

Returns

Record<string, number>