1 | const regl = require('regl')({ extensions: 'oes_element_index_uint' })
|
2 | const createMatrix = require('../')
|
3 |
|
4 |
|
5 | // create splom instance
|
6 | let splom = createMatrix(regl)
|
7 |
|
8 | splom.update({
|
9 | data: [
|
10 | [1, 2, 3],
|
11 | [4, 6, 8]
|
12 | ],
|
13 | ranges: [
|
14 | [0, 10],
|
15 | [0, 10]
|
16 | ]
|
17 | })
|
18 |
|
19 | splom.draw()
|