/
index.html
123 lines (94 loc) · 3.55 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>freewriter</title>
<meta name="description" content="Write your text freely.">
<meta name="author" content="SitePoint">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/style.css?v=1.0">
<script src="js/cipher.js"></script>
<script src="libraries/p5.js" type="text/javascript"></script>
<script src="libraries/p5.dom.js" type="text/javascript"></script>
<script src="libraries/p5.sound.js" type="text/javascript"></script>
<script src="js/main.js"></script>
<script language="javascript" type="text/javascript" src="js/oscillator.js"></script>
<script language="javascript" type="text/javascript" src="js/sketch.js"></script>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div id = "title">
<div id = "border">
<h3>freewriter</h3>
</div>
</div>
<div id = "aboutLink">
<a href="about.html">about</a>
</div>
<div id = "fontBar">
<button id="lftBut" onclick="leftTextAlign()">lft</button>
<button id="cntrBut" onclick="centerTextAlign()">cntr</button>
<button id="rghtBut" onclick="rightTextAlign()">rght</button>
</div>
<div id = "specialMenuButtons">
<button id="ssBut" onclick="singleSpaceOn()">single-spaced</button>
</div>
<div id = "specialMenuButtons1">
<button id="dsBut" onclick="doubleSpaceOn()">double-spaced</button>
</div>
<div id = "largerMenuButtons">
<button id="scramBut" onclick="scrambleText(); scrollDown();">scramble</button>
</div>
<div id = "largerMenuButtons1">
<button id="unscramBut" onclick="unscrambleText(); scrollDown();">normal</button>
</div>
<div id = "textWritten">
</div>
<div id = "textScrambled">
</div>
<div id = "textInput">
<textarea class="textWrite" id="myText" onkeydown = "handleKeyDown(event)" onkeypress ="handleKeyPress(event);"></textarea>
</div>
<div id = "textInputButton">
<!-- <input type="button" value="enter" onclick="textInput()"/> -->
<button id="but4" onclick="textInput()">enter</button>
</div>
<div id = "clearButton">
<!-- <input type="button" value="clear" onclick="clearText()"/> -->
<button id="but4" onclick="clearText()">clear</button>
</div>
<div id = "eraseButton">
<!-- <input type="button" value="h" onclick="eraseAll()" /> -->
<button id="but4" onclick="eraseAll()">h</button>
</div>
<div id = "cipherInput">
<label>cipher key: </label><input type="password" id="firstkey" size =3.0%/><br/>
</div>
<div id = "cipherButtons">
<button id="but" onclick="doClick()">save</button>
<button id="but" onclick="cipherOn()">e</button>
<button id="but" onclick="cipherOff()">d</button>
</div>
<div id = "circleText">
<label>auto-encrypting</label>
</div>
<div id = "circleButtons">
<button id="but3" onclick="turnOnAuto()">y</button>
<button id="but3" onclick="turnOffAuto()">n</button>
<button id="but3" onclick="turnAutoFaster()">+</button>
<button id="but3" onclick="turnAutoSlower()">-</button>
</div>
<div id = "decodingTextLabel">
<label>decoding prevs text?</label><br/>
</div>
<div id = "decodingTextButtons">
<button id="but" onclick="turnDecoderOff(); cipherOff();">y</button>
<button id="but" onclick="decodingSomeText(); cipherOn();">n</button>
</div>
<div id='circleCanvas'></div>
</div>
</body>
</html>