You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<script src="https://code.jquery.com/jquery-3.6.4.min.js" type="text/javascript"></script>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.6.0/p5.min.js" type="text/javascript"></script>
|
|
|
|
<script src="data/scripts/init.js" type="text/javascript"></script>
|
|
|
|
<script src="data/scripts/events.js" type="text/javascript"></script>
|
|
|
|
<script src="data/scripts/online.js" type="text/javascript"></script>
|
|
|
|
<script src="data/scripts/doppler.js" type="text/javascript"></script>
|
|
|
|
<link href="styles.css" rel="stylesheet">
|
|
|
|
<link href="data/styles/color_picker.css" rel="stylesheet">
|
|
|
|
<link href="data/styles/range_input.css" rel="stylesheet">
|
|
|
|
<link href="data/images/favicon.ico" rel="icon" type="image/x-icon">
|
|
|
|
<title>Doppler Effect</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="p5_loading"></div>
|
|
|
|
<div id="content">
|
|
|
|
<div id="interface">
|
|
|
|
<h1>Doppler Effect</h1>
|
|
|
|
<fieldset id="mode_holder" onchange="doppler.updateMode();">
|
|
|
|
<legend>Mode</legend>
|
|
|
|
|
|
|
|
<label>
|
|
|
|
<input name="mode" type="radio" value="free">
|
|
|
|
Follow mouse
|
|
|
|
</label>
|
|
|
|
<br>
|
|
|
|
<label>
|
|
|
|
<input name="mode" type="radio" value="straight_right">
|
|
|
|
Straight right
|
|
|
|
</label>
|
|
|
|
<br>
|
|
|
|
<label>
|
|
|
|
<input name="mode" type="radio" value="straight_left">
|
|
|
|
Straight left
|
|
|
|
</label>
|
|
|
|
<br>
|
|
|
|
<label>
|
|
|
|
<input name="mode" type="radio" value="straight_both">
|
|
|
|
Straight both
|
|
|
|
</label>
|
|
|
|
<br>
|
|
|
|
<label>
|
|
|
|
<input name="mode" type="radio" value="smooth_horizontal">
|
|
|
|
Smooth horizontal
|
|
|
|
</label>
|
|
|
|
<br>
|
|
|
|
<label>
|
|
|
|
<input name="mode" type="radio" value="smooth_vertical">
|
|
|
|
Smooth vertical
|
|
|
|
</label>
|
|
|
|
<br>
|
|
|
|
<label>
|
|
|
|
<input name="mode" type="radio" value="circle">
|
|
|
|
Circle
|
|
|
|
</label>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
<div id="canvas-holder"></div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|