-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (24 loc) · 1.05 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
<html>
<head>
<title>Steering Text Paths</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="style.css">
<script language="javascript" type="text/javascript" src="libraries/p5.js"></script>
<script language="javascript" type="text/javascript" src="sketch.js"></script>
<script language="javascript" type="text/javascript" src="vehicle.js"></script>
</head>
<body>
<h1 id="header">Steering text paths</h1>
<h2>Try pressing spacebar and the left mouse button.</br>Use the slider to adjust the color.</h2>
<div id="paper">
<h2>Agent steering behaviour based on a
<a href="http://www.red3d.com/cwr/steer/gdc99/" target="_blank">scientific paper</a> by Craig W. Reynolds</h2>
</div>
<div id="inputs">
<input type="range" min="0" max="360" oninput="changeColor(this.value)" />
</div>
<div id="inputs">
<input type="text" id="textInput" value="Patyčioms" oninput="mousePressed()" onchange="mousePressed" style="text-align: center;"></input>
</div>
</body>
</html>