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.
39 lines
1.5 KiB
39 lines
1.5 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.2/p5.min.js" type="text/javascript"></script>
|
|
<script src="https://code.jquery.com/jquery-3.3.1.min.js" type="text/javascript"></script>
|
|
<script src="data/scripts/lib/benjo_library.js" type="text/javascript"></script>
|
|
<script src="data/scripts/events.js" type="text/javascript"></script>
|
|
<script src="data/scripts/sketch.js" type="text/javascript"></script>
|
|
<link href="styles.css" rel="stylesheet">
|
|
<link href="data/styles/color_picker.css" rel="stylesheet">
|
|
<title>Sierpinski</title>
|
|
</head>
|
|
<body>
|
|
<div id="canvasHolder"></div>
|
|
<div id="interface">
|
|
<form>
|
|
<fieldset>
|
|
<legend><b>Algorithmus</b></legend>
|
|
<fieldset>
|
|
<legend>Dreieck</legend>
|
|
<input id="chaos_game" name="algorithm" type="radio" value="chaos">
|
|
<label for="chaos_game">Chaos-Spiel</label>
|
|
<input id="classic_algorithm" name="algorithm" type="radio" value="classic">
|
|
<label for="classic_algorithm">Klassisch (Rekursiv)</label>
|
|
</fieldset>
|
|
<fieldset>
|
|
<legend>Andere</legend>
|
|
<input id="carpet" name="algorithm" type="radio" value="carpet">
|
|
<label for="carpet">Teppich</label>
|
|
<input id="curve" name="algorithm" type="radio" value="curve">
|
|
<label for="curve">Kurve</label>
|
|
</fieldset>
|
|
<input id="start_algorithm" onclick="$(this).blur(); startSierspinski()" type="button" value="Start">
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html> |