-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
90 lines (85 loc) · 4.94 KB
/
index.html
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Net3arth</title>
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#2080d0">
<meta name="msapplication-TileColor" content="#303540">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="src/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Code&display=swap" rel="stylesheet">
<meta name="google-site-verification" content="BmrewvI3-8uu40v5hT69vVbN2hhtHrovBAwTyYyit-0" />
</link>
</head>
<body>
<div class="container">
<div class="container__left">
<div id="topBar"><button onclick="runCode()" class="inp" id="run">Run</button>
<button onclick="stopCode()" class="inp" id="compile">Compile</button>
<a href='gallery' target="_blank"><button class="inp">Gallery</button></a>
<input type="number" placeholder="threads" id="threads" name="Threads" min="0" max="32" value="4" step="1" data-toggle="tooltip" title="number of theads to use"/>
<input type="number" placeholder="Width" id="width" name="Width" min="0" max="8000" value="1280" step="1" data-toggle="tooltip" title="Width in pixels"/>
<input type="number" placeholder="Height" id="height" name="Height" min="0" max="8000" value="720" step="1" data-toggle="tooltip" title="Height in pixels"/><br>
<label for="Save Render" style='color:white' data-toggle="tooltip" title="toggle animation rendering (PNG sequence)">Animation</label>
<input type="checkbox" id="render" name="Save Render" data-toggle="tooltip" title="toggle animation rendering (PNG sequence)">
<input type="number" placeholder="Frames" id="frames" name="Frames" min="1" max="1e8" value="1" step="1" style="display:none" data-toggle="tooltip" title="Total animation frames"/>
<input type="number" placeholder="Sample Level" id="sampleLevel" name="Sample Level" min="0" max="25" value="5" style="display:none" data-toggle="tooltip" title="Sample Level"/>
<!--<input type="checkbox" id="autoFormat" name="Auto Format" onchange="autoFormat = !autoFormat">-->
<!--<label for="Auto Format" style='color:white'>Auto Format</label>-->
</div>
<div id="editor"></div>
</div>
<div class="resizer" data-direction="horizontal"></div>
<div class="container__right">
<div class="container__top">
<canvas id="canvas"></canvas>
<!-- Error Modal -->
</div>
<div class="resizer" data-direction="vertical"></div>
<div class="container__bottom">
<div id='console'></div>
</div>
</div>
<div id="functionPreview" style="width: 300px;">
<canvas id="previewCanvas" width="300" height="300"></canvas>
<hr>
<div id="previewFunctionOptions">
<select id="previewFunctionTemplate" name="Template">
<optgroup></optgroup>
</select><br>
<select id="previewFunctionFunction">
<optgroup>
</optgroup>
</select>
<hr>
<div style="margin-left: 10%;">
<div id="previewFunctionParameters" style="text-align: left;"></div>
</div>
<hr>
<div style="padding-left: 1em; padding-right: 1em;">
<p id="previewFunctionDescription" style="color: white;text-align:left;">The identity function returns its input.</p>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.12/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.12/mode-javascript.js" type="text/javascript" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.12/ext-language_tools.js" type="text/javascript" charset="utf-8"></script>
<script src="src/3arthLang_highlight_rules.js" type="text/javascript" charset="utf-8"></script>
<script src="src/editor.js" type="text/javascript" charset="utf-8"></script>
<script src="src/ajax.js" type="text/javascript" charset="utf-8"></script>
<script src="src/standardLib.js" type="text/javascript" charset="utf-8"></script>
<script src="src/ui.js" type="text/javascript" charset="utf-8"></script>
<script src="src/transpile.js" type="text/javascript" charset="utf-8"></script>
<script src="src/tutorial.js" type="text/javascript" charset="utf-8"></script>
<script src="src/main.js" type="text/javascript" charset="utf-8"></script>
<script src="src/preview.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>