textmode.synth.js / SynthSource / charMap
Method: charMap()
ts
charMap(chars): this;Map character indices to a specific character set. This is the primary textmode-native way to define which characters to use.
Parameters
| Parameter | Type | Description |
|---|---|---|
chars | string | A string of characters to map indices to |
Returns
this
The SynthSource for chaining