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 @@ + +
+ this is actually 2-track pharmacode but it doesn't give a shit about corpo + names. +
++ +
+input a number
+ + + + + ++ 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.
+