Geometry · function
countCells
How many lit cells a string needs, which is how many boxes it costs.
Explained in Hello world, Meshes and geometry.
function countCells(text: string): numberimport { countCells } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
text | string |