-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (45 loc) · 2.34 KB
/
index.html
File metadata and controls
52 lines (45 loc) · 2.34 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta property="og:url" content="https://williamsokol.github.io/" />
<meta property="og:type" content="article" />
<meta property="og:title" content="Box Generator" />
<meta property="og:description" content="This was something I made out for convenience because I was having trouble finding a good box partition for my BallyBot robot kit " />
<meta property="og:image" content="https://i.imgur.com/UeYw8tC.jpeg" />
<title>Box Generator</title>
<!-- Load latest acron version first -->
<script type="text/javascript" src="https://unpkg.com/acorn"></script>
<!-- Then load Paper.js -->
<script type="text/javascript" src="https://unpkg.com/paper"></script><script type="text/javascript" src="./paperjs-offset.js"></script>
<!-- <script type="text/javascript" src="./demo.js"></script> -->
<script type="text/paperscript" src="BoxLib.js" canvas="myCanvas"></script>
<script type="text/paperscript" src="shape.js" canvas="myCanvas"></script>
</head>
<body>
<h1 style="text-align: center;"> Fold Over Box Generator</h1>
<form action="/action_page.php">
<label for="thickness">Material Thickness (mm):</label><br>
<input type="text" id="thickness" name="fname" value="4.8"><br>
<label for="length">Length (mm):</label><br>
<input type="text" id="length" name="fname" value="100"><br>
<label for="width">Width (mm):</label><br>
<input type="text" id="width" name="fname" value="100"><br>
<label for="height">Height (mm):</label><br>
<input type="text" id="height" name="lname" value="100"><br><br>
<input type="submit" value="Update">
<input type="submit" value="Export">
</form>
<canvas id="myCanvas" width="1200" height="500"></canvas>
<img src="PXL_20240822_020253746.MP.jpg" width="50%">
<p>
This is a little website to generate boxes for lasercutting,
after having trouble finding a good alternative. <br>
The code for this project is open source here: <br>
<a href="https://github.com/williamsokol/FoldOverBoxGenerator">https://github.com/williamsokol/FoldOverBoxGenerator</a>
</p>
By: William Sokol
<br>
Aug 21, 2024
</body>
</html>