-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
170 lines (156 loc) · 6.98 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="index, follow">
<meta name="description" content="An ASCII Cam Web App for converting webcam to vintage text video.">
<meta name="author" content="Ray Kooyenga">
<meta name="publisher" content="Ray Kooyenga">
<meta name="keywords" content="ASCII, webcam, vintage text video, ascii cam, web app, text art, ray kooyenga, video conversion">
<meta property="og:type" content="website">
<meta property="og:title" content="Better ASCII Cam">
<meta property="og:description" content="An ASCII Cam Web App for converting webcam to vintage text video.">
<meta property="og:url" content="https://raykooyenga.com/apps/better-ascii/">
<meta property="og:image" content="icons/og-image.png"> <!-- 1200x630-->
<meta property="og:site_name" content="Better ASCII Cam">
<meta property="og:locale" content="en_US">
<!-- Twitter Card meta tags for Twitter sharing -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@rayktweets">
<meta name="twitter:title" content="Better ASCII Cam">
<meta name="twitter:description" content="An ASCII Cam Web App for converting webcam to vintage text video.">
<meta name="twitter:image" content="icons/og-image.png">
<meta name="twitter:creator" content="@rayktweets">
<link rel="icon favicon" href="icons/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="icons/apple-touch-icon.png">
<link rel="shortcut icon" href="icon.png">
<link rel="icon" href="icons/icon-144x144.png">
<link rel="icon" href="icons/icon192x192.png">
<link rel="icon" href="icons/icon512x512.png">
<link rel="stylesheet" href="styles/main.css">
<script src="scripts/main.js" defer></script>
<!-- App-related metadata -->
<meta name="application-name" content="Better ASCII Cam">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Better ASCII Cam">
<meta name="mobile-web-app-capable" content="yes">
<link rel="manifest" href="manifest.json">
<!-- App URLs (for link previews, Google indexing, etc.) -->
<link rel="canonical" href="https://raykooyenga.com/apps/better-ascii/">
<link rel="alternate" href="https://rkooyenga.github.io/better-ascii-cam" hreflang="en-US">
<!-- JSON-LD structured data for rich search results (optional but recommended for better indexing) -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "Better ASCII Cam",
"description": "An ASCII Cam Web App for converting webcam to vintage text video.",
"url": "https://raykooyenga.com/apps/better-ascii/",
"publisher": {
"@type": "Person",
"name": "Ray Kooyenga",
"url": "https://raykooyenga.com"
},
"mainEntityOfPage": "https://raykooyenga.com/apps/better-ascii/",
"keywords": "ASCII, webcam, text video, video conversion, art, ray kooyenga, ascii cam"
}
</script>
<title>Better ASCII Cam Video Web App | Convert Webcam to Retro Computer Text</title>
</head>
<body>
<video class="original-video"></video>
<canvas class="scaled-video"></canvas>
<div class="ascii-video"></div>
<div class="top-bar">
<div class="top-bar-controls">
<div class="control">
<label for="font-size">Font Size/Zoom</label>
<input type="range" id="font-size" min="4" max="24" value="12">
</div>
<div class="control">
<label for="foreground-color">Foreground</label>
<select id="foreground-color">
<option selected value="#FFFFFF">White</option>
<option value="#000000">Black</option>
<option value="#800000">Maroon</option>
<option value="#008000">Green</option>
<option value="#808000">Olive</option>
<option value="#000080">Navy</option>
<option value="#800080">Purple</option>
<option value="#008080">Teal</option>
<option value="#808080">Gray</option>
<option value="#C0C0C0">Silver</option>
<option value="#FF0000">Red</option>
<option value="#00FF00">Lime</option>
<option value="#FFFF00">Yellow</option>
<option value="#0000FF">Blue</option>
<option value="#FF00FF">Fuchsia</option>
<option value="#00FFFF">Aqua</option>
</select>
</div>
<div class="control">
<label for="background-color">Background</label>
<select id="background-color">
<option selected value="#000000">Black</option>
<option value="#800000">Maroon</option>
<option value="#008000">Green</option>
<option value="#808000">Olive</option>
<option value="#000080">Navy</option>
<option value="#800080">Purple</option>
<option value="#008080">Teal</option>
<option value="#808080">Gray</option>
<option value="#C0C0C0">Silver</option>
<option value="#FF0000">Red</option>
<option value="#00FF00">Lime</option>
<option value="#FFFF00">Yellow</option>
<option value="#0000FF">Blue</option>
<option value="#FF00FF">Fuchsia</option>
<option value="#00FFFF">Aqua</option>
<option value="#FFFFFF">White</option>
</select>
</div>
<div class="control">
<label for="brightness">Brightness</label>
<input type="range" id="brightness" min="-100" max="100" value="0">
</div>
<div class="control">
<label for="gradient-mode">Gradient Mode</label>
<select id="gradient-mode">
<option value="font-gradient-reset">None</option>
<option value="font-gradient-red-blue">Red Blue</option>
<option value="font-gradient-green-yellow">Green Yellow</option>
<option value="font-gradient-blue-green">Purple Orange</option>
<option value="font-gradient-reggae">Reggae</option>
<option value="font-gradient-usa">USA</option>
</select>
</div>
<div class="control">
<label>
<input type="checkbox" id="color-cycle" class="checkbox-accent"> Color Cycling
</label>
<label>
<input type="checkbox" id="color-cycle-bg" class="checkbox-accent"> Back Color Cycling
</label>
</div>
<div class="control">
<label>Snapshot</label>
<button id="save-ascii">ASCII</button>
<button id="save-image">Image</button>
</div>
<div class="control">
<label>Record</label>
<button id="record-button">Start Recording</button>
</div>
<div class="control">
<button id="install">Install</button>
</div>
</div>
</div>
<button class="top-bar-toggle">▼</button>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-9P4KP1YMH6');
</script>
</body></html>