n(t: string, style: ?, props: ?, children: ?, id: string?) → void
| arg | type | description |
|---|
| t | string | |
| style | ? | |
| props | ? | |
| children | ? | |
| id | string? | |
lbl(text: string, style: ?, id: string?) → void
| arg | type | description |
|---|
| text | string | |
| style | ? | |
| id | string? | |
svgNode(str: string, x: number, y: number, w: number, h: number?) → void
| arg | type | description |
|---|
| str | string | |
| x | number | |
| y | number | |
| w | number | |
| h | number? | |
abs(x: number, y: number, extra: ?) → void
| arg | type | description |
|---|
| x | number | |
| y | number | |
| extra | ? | |
hash(i: number) → number
| arg | type | description |
|---|
| i | number | |
snake(s: string) → string
| arg | type | description |
|---|
| s | string | |
corrupt(s: string, amount: number, seed: number) → string
| arg | type | description |
|---|
| s | string | |
| amount | number | |
| seed | number | |
codeLine(rec: ?, f: ?, v: ?) → void
| arg | type | description |
|---|
| rec | ? | |
| f | ? | |
| v | ? | |
codeLine(rec: ?, f: ?, v: ?) → void
| arg | type | description |
|---|
| rec | ? | |
| f | ? | |
| v | ? | |
codeLine(rec: ?, f: ?, v: ?) → void
| arg | type | description |
|---|
| rec | ? | |
| f | ? | |
| v | ? | |
codeLine(rec: ?, f: ?, v: ?) → void
| arg | type | description |
|---|
| rec | ? | |
| f | ? | |
| v | ? | |
codeLine(rec: ?, f: ?, v: ?) → void
| arg | type | description |
|---|
| rec | ? | |
| f | ? | |
| v | ? | |
codeLine(rec: ?, f: ?, v: ?) → void
| arg | type | description |
|---|
| rec | ? | |
| f | ? | |
| v | ? | |
codeLine(rec: ?, f: ?, v: ?) → void
| arg | type | description |
|---|
| rec | ? | |
| f | ? | |
| v | ? | |
codeLine(rec: ?, f: ?, v: ?) → void
| arg | type | description |
|---|
| rec | ? | |
| f | ? | |
| v | ? | |
define(id: string, spec: ?) → void
| arg | type | description |
|---|
| id | string | |
| spec | ? | |
get(id: string?) → void
| arg | type | description |
|---|
| id | string? | |
ring(cx: ?, cy: ?, r: ?, color: ?, width: ?, dash: ?, rot: ?, opacity: ?) → void
| arg | type | description |
|---|
| cx | ? | |
| cy | ? | |
| r | ? | |
| color | ? | |
| width | ? | |
| dash | ? | |
| rot | ? | |
| opacity | ? | |
lineSvg(x1: ?, y1: ?, x2: ?, y2: ?, color: ?, width: ?, opacity: ?) → void
| arg | type | description |
|---|
| x1 | ? | |
| y1 | ? | |
| x2 | ? | |
| y2 | ? | |
| color | ? | |
| width | ? | |
| opacity | ? | |
brackets(cx: ?, cy: ?, w: ?, h: ?, color: ?, width: ?, len: ?) → void
| arg | type | description |
|---|
| cx | ? | |
| cy | ? | |
| w | ? | |
| h | ? | |
| color | ? | |
| width | ? | |
| len | ? | |
overlayLines(ctx: ?, L: ?) → void
the code lines shown around the target: one per field, plus the read lines
| arg | type | description |
|---|
| ctx | ? | |
| L | ? | |
anime(ctx: ?, L: ?, cx: ?, cy: ?, r: ?, t: ?, nodes: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| L | ? | |
| cx | ? | |
| cy | ? | |
| r | ? | |
| t | ? | |
| nodes | ? | |
terminal(ctx: ?, L: ?, cx: ?, cy: ?, r: ?, t: ?, nodes: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| L | ? | |
| cx | ? | |
| cy | ? | |
| r | ? | |
| t | ? | |
| nodes | ? | |
holo(ctx: ?, L: ?, cx: ?, cy: ?, r: ?, t: ?, nodes: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| L | ? | |
| cx | ? | |
| cy | ? | |
| r | ? | |
| t | ? | |
| nodes | ? | |
runes(ctx: ?, L: ?, cx: ?, cy: ?, r: ?, t: ?, nodes: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| L | ? | |
| cx | ? | |
| cy | ? | |
| r | ? | |
| t | ? | |
| nodes | ? | |
parchment(ctx: ?, L: ?, cx: ?, cy: ?, r: ?, t: ?, nodes: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| L | ? | |
| cx | ? | |
| cy | ? | |
| r | ? | |
| t | ? | |
| nodes | ? | |
pixel(ctx: ?, L: ?, cx: ?, cy: ?, r: ?, t: ?, nodes: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| L | ? | |
| cx | ? | |
| cy | ? | |
| r | ? | |
| t | ? | |
| nodes | ? | |
minimal(ctx: ?, L: ?, cx: ?, cy: ?, r: ?, t: ?, nodes: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| L | ? | |
| cx | ? | |
| cy | ? | |
| r | ? | |
| t | ? | |
| nodes | ? | |
glitch(ctx: ?, L: ?, cx: ?, cy: ?, r: ?, t: ?, nodes: ?) → void
| arg | type | description |
|---|
| ctx | ? | |
| L | ? | |
| cx | ? | |
| cy | ? | |
| r | ? | |
| t | ? | |
| nodes | ? | |
chip(L: ?, text: string, sel: boolean, cur: boolean, id: string?, touch: boolean, cost: number?) → void
| arg | type | description |
|---|
| L | ? | |
| text | string | |
| sel | boolean | |
| cur | boolean | |
| id | string? | |
| touch | boolean | |
| cost | number? | |
meter(L: ?, cur: number, max: number, w: number, preview: number) → void
| arg | type | description |
|---|
| L | ? | |
| cur | number | |
| max | number | |
| w | number | |
| preview | number | |
railButton(L: ?, text: string, hotkey: string, id: string, enabled: boolean, focus: boolean, touch: boolean, primary: boolean) → void
| arg | type | description |
|---|
| L | ? | |
| text | string | |
| hotkey | string | |
| id | string | |
| enabled | boolean | |
| focus | boolean | |
| touch | boolean | |
| primary | boolean | |