From e42a5706903fc853feed388442d1f344bb8553cb Mon Sep 17 00:00:00 2001 From: Christian Lawson-Perfect Date: Sun, 4 May 2025 13:00:58 +0000 Subject: [PATCH] first commit - found it not working the dots just wobble back and forth one stop --- .gitignore | 1 + index.html | 28 +++++++++++++++++++++ script.js | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ style.css | 5 ++++ 4 files changed, 105 insertions(+) create mode 100644 .gitignore create mode 100644 index.html create mode 100644 script.js create mode 100644 style.css diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8bc0f76 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.make.* \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..fdd5b01 --- /dev/null +++ b/index.html @@ -0,0 +1,28 @@ + + + + + + A thing made by CLP + + + + +
+

A thing made by CLP

+
+
+ + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..a30f3a3 --- /dev/null +++ b/script.js @@ -0,0 +1,71 @@ +/* +Duration: 52 seconds.0:52 +Hilbert curve at its sixth iteration + + Alphabet : A, B + Constants : F + − + Axiom : A + Production rules: +*/ + +console.clear(); + +const rules = { + "A": "+BF-AFA-FB+", + "B": "-AF+BFB+FA-", +}; + +let steps = 5; + +let s = "A"; +for(let i=0;i