Generating panels as an svg
This commit is contained in:
22
index.html
Normal file
22
index.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Parachute Panel Generator</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Parachute Panel Generator</h1>
|
||||
<p>Generate the SVG outline of a parachute panel for an elliptical parachute. Find out more <a>here</a>.</p>
|
||||
<br>
|
||||
<label for="h">Height of parachute (h):</label>
|
||||
<input type="number" id="h" min="0"/><br>
|
||||
<label for="r">Radius of parachute (r):</label>
|
||||
<input type="number" id="r" min="0"/><br>
|
||||
<label for="rs">Radius of spill hole (r<sub>s</sub>): (leave blank to use 0.05r)</label>
|
||||
<input type="number" id="rs" /><br>
|
||||
<label for="np">Number of panels (n<sub>p</sub>): </label>
|
||||
<input type="number" id="np" min="3" ><br>
|
||||
<button onclick="generatePanel()">Generate!</button>
|
||||
<div id="output"></div>
|
||||
<script src="index.js" lang="js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user