2020-03-06 14:10:30 -07:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Convulse</title>
|
2020-03-06 18:01:14 -07:00
|
|
|
<link rel="stylesheet" href="convulse.css">
|
|
|
|
<script src="convulse.js"></script>
|
2020-03-06 14:10:30 -07:00
|
|
|
</head>
|
|
|
|
<body>
|
2020-03-06 18:01:14 -07:00
|
|
|
<div id="hello">
|
|
|
|
<h1>Convulse: it's sorta like Twitch!</h1>
|
|
|
|
<p>
|
|
|
|
I need the following permissions:
|
|
|
|
</p>
|
|
|
|
<dl>
|
|
|
|
<dt>Use your microphone</dt>
|
|
|
|
<dd>So I can record your velvety-smooth voice</dd>
|
|
|
|
|
|
|
|
<dt>Use your camera</dt>
|
|
|
|
<dd>So I can record your velvety-smooth face</dd>
|
|
|
|
|
|
|
|
<dt>Share your screen</dt>
|
|
|
|
<dd>So I can record your velvety-smooth computer</dd>
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<canvas></canvas>
|
2020-03-07 19:00:39 -07:00
|
|
|
<div id="indicator">⬤</div>
|
2020-03-06 18:01:14 -07:00
|
|
|
|
|
|
|
<div id="videos" class="hidden">
|
|
|
|
<video id="webcam"></video>
|
|
|
|
<video id="desktop"></video>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="controls">
|
2020-03-07 19:00:39 -07:00
|
|
|
<div class="hidden">
|
|
|
|
<button id="rec">⏺️</button>
|
|
|
|
<a id="save">💾</a>
|
|
|
|
</div>
|
|
|
|
<div id="webcam-controls">
|
2020-03-06 18:01:14 -07:00
|
|
|
UR FACE
|
2020-03-07 19:00:39 -07:00
|
|
|
<input id="webcam-size" type="range" min="0.05" max="1.0" step="0.01" value="0.2">
|
2020-03-06 18:01:14 -07:00
|
|
|
<button id="webcam-pos">Move</button>
|
2020-03-07 19:00:39 -07:00
|
|
|
</div>
|
2020-03-06 18:01:14 -07:00
|
|
|
|
2020-03-07 19:00:39 -07:00
|
|
|
<div id="desktop-controls">
|
2020-03-06 18:01:14 -07:00
|
|
|
Capture Area
|
2020-03-07 19:00:39 -07:00
|
|
|
<input id="desktop-size" type="range" min="1.0" max="3.0" step="0.01" value="0.2">
|
|
|
|
<button id="desktop-pos">Move</button>
|
|
|
|
</div>
|
2020-03-06 18:01:14 -07:00
|
|
|
</div>
|
|
|
|
|
2020-03-06 14:10:30 -07:00
|
|
|
<div id="toasts"></div>
|
|
|
|
</body>
|
|
|
|
</html>
|