license,cleanup,comments
This commit is contained in:
+7
-9
@@ -1,18 +1,15 @@
|
||||
<html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<style>
|
||||
canvas {
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
<meta charset="utf-8">
|
||||
<title>led bikewheel image generator</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Image for led_bikewheel</h1>
|
||||
<h1>Generate image for led_bikewheel</h1>
|
||||
<p>Tool to convert an image to a byte array in C with 8 bit color depth + palette. This works directly in browser,
|
||||
so selected
|
||||
image file is NOT uploaded!</p>
|
||||
so selected image file is NOT uploaded!</p>
|
||||
<input type="file" id="file" accept="image/*" /><br>
|
||||
<label for="num_segments">Num Segments</label>
|
||||
<input type="number" id="num_segments" min="1" value="360" /><br>
|
||||
@@ -27,6 +24,7 @@
|
||||
<hr>
|
||||
<h2>Preview</h2>
|
||||
<canvas id="canvas_out" width="0" height="0"></canvas>
|
||||
<br>
|
||||
<canvas id="canvas_out2" width="0" height="0"></canvas>
|
||||
<h2>Output</h2>
|
||||
<pre id="output"></pre>
|
||||
|
||||
Reference in New Issue
Block a user