-
Notifications
You must be signed in to change notification settings - Fork 1
/
gui.js
64 lines (64 loc) · 802 Bytes
/
gui.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
export const controls = [{
id: 'table',
type: 'range',
min: 2,
max: 1500,
step: 1,
value: 2
}, {
id: 'start',
type: 'range',
min: 0,
max: 100,
step: 0.1,
value: 0
}, {
id: 'end',
type: 'range',
min: 0,
max: 100,
step: 0.1,
value: 100
}, {
id: 'modulo',
type: 'range',
min: 0,
max: 1500,
step: 1,
value: 360
}, {
id: 'rotation',
type: 'range',
min: -360,
max: 360,
step: 1,
value: 0
}, {
id: 'minLength',
type: 'range',
min: 0,
max: 1500,
step: 0.1,
value: 0
}, {
id: 'keepEveryNLines',
type: 'range',
min: 1,
max: 1500,
step: 1,
value: 1
}, {
id: 'keepEveryNLinesShift',
type: 'range',
min: 0,
max: 1500,
step: 1,
value: 0
}, {
id: 'center',
type: 'range',
min: 0,
max: 1,
step: 1,
value: 0
}];