-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
153 lines (150 loc) · 7.1 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Line Encoder</title>
<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=Poppins:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="app.css">
</head>
<body>
<div id="mainNav">
<nav id="line">
LINE ENCODER
</nav>
</div>
<section class="encode nrzL">
<nav id="nrzLHead" class="navAll">
NRZ-L (NON-RETURN-TO-ZERO-LEVEL)
</nav>
<div class="choice">
<div class="randfix">
<label for="customNrzL" class="label">CUSTOM USER INPUT</label>
<input type="text" id="customNrzL" class="ip customNrzLInput" placeholder="DIGITAL SIGNAL"
value="">
<button class="gen" id="customBtnNrzL">GENERATE</button>
</div>
<div class="randfix">
<label for="randomNrzL" class="label">RANDOM DATA SEQUENCE</label>
<input type="text" id="randomNrzL" class="ip randomNrzLInput"
placeholder="NO. OF CONSECUTIVE ZEROES" value="">
<button class="gen" id="randomBtnNrzL">GENERATE</button>
</div>
</div>
<div id="putNrzLCanvas" class="row"></div>
</section>
<section class="encode">
<nav id="nrzIHead" class="navAll">
NRZ-I (NON-RETURN-TO-ZERO-INVERT)
</nav>
<div class="choice">
<div class="randfix">
<label for="customNrzI" class="label">CUSTOM USER INPUT</label>
<input type="text" id="customNrzI" class="ip customNrzIInput" placeholder="DIGITAL SIGNAL" value="">
<button class="gen" id="customBtnNrzI">GENERATE</button>
</div>
<div class="randfix">
<label for="randomNrzI" class="label">RANDOM DATA SEQUENCE</label>
<input type="text" id="randomNrzI" class="ip randomNrzIInput" placeholder="NO. OF CONSECUTIVE ZEROES" value="">
<button class="gen" id="randomBtnNrzI">GENERATE</button>
</div>
</div>
<div id="putNrzICanvas" class="row"></div>
</section>
<section class="encode">
<nav id="manHead" class="navAll">
MANCHESTER
</nav>
<div class="choice">
<div class="randfix">
<label for="customMan" class="label">CUSTOM USER INPUT</label>
<input type="text" id="customMan" class="ip customManInput" placeholder="DIGITAL SIGNAL" value="">
<button class="gen" id="customBtnMan">GENERATE</button>
</div>
<div class="randfix">
<label for="randomMan" class="label">RANDOM DATA SEQUENCE</label>
<input type="text" id="randomMan" class="ip randomManInput" placeholder="NO. OF CONSECUTIVE ZEROES" value="">
<button class="gen" id="randomBtnMan">GENERATE</button>
</div>
</div>
<div id="putManCanvas" class="row"></div>
</section>
<section class="encode">
<nav id="diffManHead" class="navAll">
DIFFERENTIAL-MANCHESTER
</nav>
<div class="choice">
<div class="randfix">
<label for="customDiffMan" class="label">CUSTOM USER INPUT</label>
<input type="text" id="customDiffMan" class="ip customDiffManInput" placeholder="DIGITAL SIGNAL" value="">
<button class="gen" id="customBtnDiffMan">GENERATE</button>
</div>
<div class="randfix">
<label for="randomDiffMan" class="label">RANDOM DATA SEQUENCE</label>
<input type="text" id="randomDiffMan" class="ip randomDiffManInput" placeholder="NO. OF CONSECUTIVE ZEROES" value="">
<button class="gen" id="randomBtnDiffMan">GENERATE</button>
</div>
</div>
<div id="putDiffManCanvas" class="row"></div>
</section>
<section class="encode">
<nav id="amiHead" class="navAll">
ALTERNATE MARK INVERSION (AMI)
</nav>
<div class="choice">
<div class="randfix">
<label for="customAmi" class="label">CUSTOM USER INPUT</label>
<input type="text" id="customAmi" class="ip customAmiInput" placeholder="DIGITAL SIGNAL" value="">
<button class="gen" id="customBtnAmi">GENERATE</button>
</div>
<div class="randfix">
<label for="randomAmi" class="label">RANDOM DATA SEQUENCE</label>
<input type="text" id="randomAmi" class="ip randomAmiInput" placeholder="NO. OF CONSECUTIVE ZEROES" value="">
<button class="gen" id="randomBtnAmi">GENERATE</button>
</div>
</div>
<div id="putAmiCanvas" class="row"></div>
</section>
<section class="encode">
<nav id="bezsHead" class="navAll">
BIPOLAR WITH 8-ZERO SUBSTITUTION (B8ZS)
</nav>
<div class="choice">
<div class="randfix">
<label for="customBezs" class="label">CUSTOM USER INPUT</label>
<input type="text" id="customBezs" class="ip customBezsInput" placeholder="DIGITAL SIGNAL" value="">
<button class="gen" id="customBtnBezs">GENERATE</button>
</div>
<div class="randfix">
<label for="randomBezs" class="label">RANDOM DATA SEQUENCE</label>
<input type="text" id="randomBezs" class="ip randomBezsInput" placeholder="NO. OF CONSECUTIVE ZEROES" value="">
<button class="gen" id="randomBtnBezs">GENERATE</button>
</div>
</div>
<div id="putBezsCanvas" class="row"></div>
</section>
<section class="encode">
<nav id="hdbtHead" class="navAll">
HIGH-DENSITY-BIPOLAR 3-ZERO (HDB3)
</nav>
<div class="choice">
<div class="randfix">
<label for="customHdbt" class="label">CUSTOM USER INPUT</label>
<input type="text" id="customHdbt" class="ip customHdbtInput" placeholder="DIGITAL SIGNAL" value="">
<button class="gen" id="customBtnHdbt">GENERATE</button>
</div>
<div class="randfix">
<label for="randomHdbt" class="label">RANDOM DATA SEQUENCE</label>
<input type="text" id="randomHdbt" class="ip randomHdbtInput" placeholder="NO. OF CONSECUTIVE ZEROES" value="">
<button class="gen" id="randomBtnHdbt">GENERATE</button>
</div>
</div>
<div id="putHdbtCanvas" class="row"></div>
</section>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/Chart.min.js"> </script>
<script src="app.js"></script>
</body>
</html>