-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.js
61 lines (60 loc) · 1.08 KB
/
settings.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
var GRID=[];
var VARS={};
var SETTINGS={
version:"1.0.0",
gridSize:100,
color:"#ccc",
backgroundColor:"#ffffff",
graphColor:"#4882e0",
textColor:"#555",
mappings:{
"±":"=",
"_":"-",
"rt":"x",
"r":"x",
")c":"x",
"-c":"x",
"}c":"x",
")(":"x",
"}{":"x",
"){":"x",
"}(":"x",
"][":"x",
"><":"x",
">c":"x",
">(":"x",
"|":"1",
"l":"1",
"|":"1",
"q":"9",
"u":"4",
"S":"5",
"O":"0",
"o":"0",
"D":"0",
"a":"8",
"T":"7",
"/\\":"y",
"\\/":"y",
"}/":"y",
"`/":"y",
"-/":"y",
"\n":"",
"\t":"",
"l":"c",
".":"",
";":"",
",":"",
},
bounds:{
minX:-50,
maxX:50,
minY:-50,
maxY:50,
step:0.5
},
validVariables:["1","2","3","4","5","6","7","8","9","x","y","c"],
drawGrid:true,
eraseErrors:false
};
SETTINGS.mappings["±".substring(1)]="=";