Large worlds · function

frozenFingerprintContribution

What a frozen cell contributes to the world's fingerprint. Zero for a cell nothing froze.

Explained in Coordinates and units.

function frozenFingerprintContribution(frozen: FrozenCells, cell: number): number
import { frozenFingerprintContribution } from '@driftengine/core';

Parameters

ParameterTypeDescription
frozenFrozenCells
cellnumber

In depth

Constant for as long as the cell is frozen, which is what makes a streamed run and an unstreamed one agree at every frame rather than only once everything has thawed. A consumer feeds this into whatever fingerprint it already keeps, alongside its live entities.