From cbb8d8cc2f74bbc5373a0155872eadc0cf44bdf9 Mon Sep 17 00:00:00 2001 From: noe Date: Tue, 18 Jun 2024 14:35:18 -0400 Subject: [PATCH] add dollcode --- dollcode/index.html | 125 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 dollcode/index.html diff --git a/dollcode/index.html b/dollcode/index.html new file mode 100644 index 0000000..63131d6 --- /dev/null +++ b/dollcode/index.html @@ -0,0 +1,125 @@ + +dollcode + + + + +
+

dollcode generator

+

+ this is actually 2-track pharmacode but it doesn't give a shit about corpo + names. +

+

+ +

+
+
+

input a number

+ + + + + +
+
▖▘▌▘▘▌▌▌▖▘
+
+
+
+

what?

+

+ dollcode is a trinary number, with a ▖, ▘, ▌ denoting the three bit states, + with most significant bit on the left side. +

+

+ if we were to count from 1 to 16, we would get ▖ ▘ ▌ ▖▖ ▖▘ ▖▌ ▘▖ ▘▘ ▘▌ ▌▖ ▌▘ + ▌▌ ▖▖▖ ▖▖▘ ▖▖▌ ▖▘▖ +

+

+ this is a simple case of looping through the number, and checking each + modulus 3 section, and replacing it with one of the 3 characters.
see source for the algo, it's simple. +

+
+