Appearance
anim-format (runtime format) / gridTriangles
Function: gridTriangles()
ts
function gridTriangles(cols, rows): number[];triangles of a cols × rows grid of (cols + 1) × (rows + 1) points laid out row by row
Parameters
| Parameter | Type |
|---|---|
cols | number |
rows | number |
Returns
number[]