diff --git a/collatzConjecture/src/index.html b/collatzConjecture/src/index.html index 0738eac..7270ce8 100644 --- a/collatzConjecture/src/index.html +++ b/collatzConjecture/src/index.html @@ -51,7 +51,7 @@ Beware of ... interesting outcomes as this can cause the created tree to become
-Download +Download
diff --git a/dotLines/src/index.html b/dotLines/src/index.html index 56ee944..a80a584 100644 --- a/dotLines/src/index.html +++ b/dotLines/src/index.html @@ -25,14 +25,21 @@ left: 150px; top: 3px; } + .controls { + position: absolute; + top: 0px; + right: 10px + }
- - - Download
+
+ + + Download
+
diff --git a/dotLines/src/js/main.js b/dotLines/src/js/main.js index eae31c2..8cc4fbf 100644 --- a/dotLines/src/js/main.js +++ b/dotLines/src/js/main.js @@ -1,5 +1,5 @@ import { - docReady, getMousePos, pointDistance, roundedRandom + docReady, downloadCanvasWithoutButton, getMousePos, pointDistance, roundedRandom } from "canvas-common"; @@ -166,4 +166,11 @@ docReady(function () { }); +function downloadCanvasDotlines() { + downloadCanvasWithoutButton('dotLines', canvas); +} + +window.downloadCanvasCommon = downloadCanvasDotlines; +window.pause = pause; +window.showAll = showAll;