diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-11-09 17:39:05 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-11-09 17:39:05 +0100 |
| commit | 9d2c650d7cadf57ecef3d5a1d39f5f98e298ec64 (patch) | |
| tree | ed33badc6aa8305a5e6ea688a6a08e532c92d268 /utils/fractal_tree/index.ejs | |
| parent | f47491b3a89ba769760bb555ea72f1416cb0cb08 (diff) | |
| download | cacharle.xyz-templates.tar.gz cacharle.xyz-templates.tar.bz2 cacharle.xyz-templates.zip | |
Trying to DRY the html with templatestemplates
Diffstat (limited to 'utils/fractal_tree/index.ejs')
| -rw-r--r-- | utils/fractal_tree/index.ejs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/utils/fractal_tree/index.ejs b/utils/fractal_tree/index.ejs new file mode 100644 index 0000000..088dd83 --- /dev/null +++ b/utils/fractal_tree/index.ejs @@ -0,0 +1,16 @@ +<h1>fractal tree</h1> + +<canvas width="500" height="500" id="tree-canvas"></canvas> + +<div class="settings"> + <div class="settings-item"> + <label>depth</label> + <input id="depth" min="1" max="11" value="9" type="range"/> + </div> + <div class="settings-item"> + <label>angle</label> + <input id="angle" min="1" max="180" value="45" type="range"/> + </div> +</div> + +<script src="script.js" type="text/javascript"></script> |
