Compare commits
39
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
269f7f1036 | ||
|
|
e461a9a9ad | ||
|
|
b01ae3e5e3 | ||
|
|
fbf9728269 | ||
|
|
90a0d2d404 | ||
|
|
1f64cf3eaf | ||
|
|
196449f1a6 | ||
|
|
314c46efec | ||
|
|
352d5a84cf | ||
|
|
eb8fac7838 | ||
|
|
636f799d8a | ||
|
|
da5cd710c9 | ||
|
|
af830b9bb7 | ||
|
|
703c64ba00 | ||
|
|
4c892b7a5d | ||
|
|
2f334dd176 | ||
|
|
b93f08a64d | ||
|
|
81c164c159 | ||
|
|
8eac9dcf16 | ||
|
|
42fe10046b | ||
|
|
95e24cfd74 | ||
|
|
2b54e23a8c | ||
|
|
4f68a74cb5 | ||
|
|
ae2402c8fc | ||
|
|
8ba133e356 | ||
|
|
6f00218034 | ||
|
|
451dfb200d | ||
|
|
3e83969f3e | ||
|
|
0b8a5965d0 | ||
|
|
55e814fb72 | ||
|
|
ed36cd060e | ||
|
|
a5514cf2a7 | ||
|
|
c2e3a18975 | ||
|
|
73e7e07951 | ||
|
|
6198c85840 | ||
|
|
a28cb82988 | ||
|
|
644f6eee5f | ||
|
|
01975b7f3a | ||
|
|
01aee23ddc |
No files matched your search
@@ -2,3 +2,4 @@ config.js
|
||||
db.json
|
||||
__pycache__/
|
||||
*.pyc
|
||||
db_lite.json
|
||||
@@ -1,10 +1,16 @@
|
||||
# Cypher Calculator
|
||||
# `haiperdohp-jemaytreeah` — haiperdohpjematreeah (`v2.16.0` — `https://hyperstitionstud.io/calc/`)
|
||||
|
||||
A gematria cypher calculator with pre-computed instant matching, 209k+ curated word database, and full whitelabel support via `config.js`.
|
||||
<!-- HS-COMMIT-STATUS:START -->
|
||||
> **Gitea Commit & Release Telemetry (`v2.16.0` • Namespace `urn:io:hyperstitionstud`)**
|
||||
> - **Repository Role & Public Route:** Multi-Cipher Browser Gematria Workbench (`82` ciphers, `231,615` Ingglish-provisioned `db.txt` entries, progressive `db_lite.json` + `db.json` hydration) → [`https://hyperstitionstud.io/calc/index.html`](https://hyperstitionstud.io/calc/index.html)
|
||||
> - **Latest Commit Scope (`haiperdohp-jemaytreeah`):** Synchronized v2.16.0 release state across 1 tracked module/artifact surface(s)
|
||||
> - **Touched Files / Surfaces:** `index.html`
|
||||
> - **Live Verified Ecosystem Metrics (`v2.16.0`):** `6` Repositories • `17` CLI Entrypoints • `20` MCP/REST Tools • `14` URN Resources • `63` Verified Web Routes • `388` KG Nodes / `1,282` Edges • `282` Glossary Entries • `4,943` Offline CMUdict Phonetics • `0` Synthetic Data
|
||||
<!-- HS-COMMIT-STATUS:END -->
|
||||
|
||||
**[Try it live →](https://cypher.hyperdope.com)**
|
||||
A gematria cypher workbench (`haiperdohpjematreeah`) with pre-computed instant matching (`82` ciphers, `231,615` Ingglish-provisioned `db.txt` entries across `db_lite.json` and `db.json`), progressive background hydration, and full whitelabel support via `config.js` at [`https://hyperstitionstud.io/calc/`](https://hyperstitionstud.io/calc/).
|
||||
|
||||

|
||||

|
||||
|
||||
## Quick Start
|
||||
|
||||
|
||||
@@ -60,6 +60,7 @@ var optHltSameCipher = false;
|
||||
var alphaHlt = 0.15; // opacity for values that do not match - change value here and in conf_SOM()
|
||||
|
||||
var optAllowPhraseComments = true; // allow phrase comments, text inside [...] is not evaluated
|
||||
var optPrioritizeIngglish = (typeof CALC_CONFIG !== 'undefined' && CALC_CONFIG.prioritizeIngglishMatches) ? true : false; // sort [Ingglish: ...] matches to top of query results
|
||||
var liveDatabaseMode = true; // live database mode
|
||||
|
||||
var dbPageItems = (typeof CALC_CONFIG !== 'undefined' && CALC_CONFIG.resultsPerPage) ? CALC_CONFIG.resultsPerPage : 12;
|
||||
@@ -103,6 +104,7 @@ var calcOptionsArr = [
|
||||
"optNewPhrasesGoFirst",
|
||||
"optShowExtraCiphers",
|
||||
"optAllowPhraseComments",
|
||||
"optPrioritizeIngglish",
|
||||
"liveDatabaseMode",
|
||||
"optLetterWordCount",
|
||||
"optWordBreakdown",
|
||||
@@ -546,6 +548,8 @@ function createOptionsMenu() {
|
||||
|
||||
if (optShowExtraCiphers) SECstate = "checked"; // Show Extra Ciphers
|
||||
if (optAllowPhraseComments) APCstate = "checked"; // Allow Phrase Comments
|
||||
var PIMstate = "";
|
||||
if (optPrioritizeIngglish) PIMstate = "checked"; // Prioritize Ingglish [...]
|
||||
if (liveDatabaseMode) LDMstate = "checked"; // Live Database Mode
|
||||
|
||||
if (optNewPhrasesGoFirst) NPGFstate = "checked"; // New Phrases Go First
|
||||
@@ -586,6 +590,10 @@ function createOptionsMenu() {
|
||||
'<div class="optionElement"><label class="chkLabel ciphCheckboxLabel2">Ignore Comments [...]<input type="checkbox" id="chkbox_APC" onclick="conf_APC()" ' +
|
||||
APCstate +
|
||||
'><span class="custChkBox"></span></label></div>';
|
||||
o +=
|
||||
'<div class="optionElement"><label class="chkLabel ciphCheckboxLabel2">Prioritize Ingglish [...]<input type="checkbox" id="chkbox_PIM" onclick="conf_PIM()" ' +
|
||||
PIMstate +
|
||||
'><span class="custChkBox"></span></label></div>';
|
||||
o +=
|
||||
'<div class="optionElement"><label class="chkLabel ciphCheckboxLabel2">Live Database Mode<input type="checkbox" id="chkbox_LDM" onclick="conf_LDM()" ' +
|
||||
LDMstate +
|
||||
@@ -709,6 +717,16 @@ function conf_APC() {
|
||||
updateTables();
|
||||
}
|
||||
|
||||
function conf_PIM() {
|
||||
// Prioritize Ingglish [...] Matches
|
||||
optPrioritizeIngglish = !optPrioritizeIngglish;
|
||||
var chk = document.getElementById("chkbox_PIM");
|
||||
if (chk !== null) chk.checked = optPrioritizeIngglish;
|
||||
var btn = document.getElementById("queryIngPriorityBtn");
|
||||
if (btn !== null) btn.classList.toggle("ingPriorityOn", optPrioritizeIngglish);
|
||||
refreshOpenQuery();
|
||||
}
|
||||
|
||||
function conf_LWC() {
|
||||
// Letter/Word Count
|
||||
optLetterWordCount = !optLetterWordCount;
|
||||
|
||||
@@ -67,6 +67,12 @@ function rndInt(min, max) { // inclusive
|
||||
}
|
||||
|
||||
function toggleCodeRain() {
|
||||
if (typeof window !== "undefined" && document.getElementById("hsMatrixCodeRainCanvas")) {
|
||||
if (typeof code_rain !== "undefined") clearInterval(code_rain)
|
||||
var cEl = document.getElementById("canv")
|
||||
if (cEl) cEl.style.display = "none"
|
||||
return
|
||||
}
|
||||
if (optMatrixCodeRain) {
|
||||
clearInterval(code_rain) // reset previous instance
|
||||
document.getElementById("canv").style.display = "none"
|
||||
|
||||
+34
-14
@@ -109,6 +109,31 @@ function clearDatabaseQueryTable() {
|
||||
queryResultInitial = [] // clear
|
||||
}
|
||||
|
||||
function isIngglishEntry(phr) {
|
||||
return typeof phr === "string" && phr.indexOf("[Ingglish:") !== -1
|
||||
}
|
||||
|
||||
function compareQueryMatches(a, b, searchPhrase) {
|
||||
// 1. Exact phrase match (full string or stripped of [...] comment) always first
|
||||
var aRaw = a[1].toLowerCase()
|
||||
var bRaw = b[1].toLowerCase()
|
||||
var aStripped = aRaw.replace(/\[.+\]/g, '').trim()
|
||||
var bStripped = bRaw.replace(/\[.+\]/g, '').trim()
|
||||
var aExact = (aRaw === searchPhrase || aStripped === searchPhrase) ? 1 : 0
|
||||
var bExact = (bRaw === searchPhrase || bStripped === searchPhrase) ? 1 : 0
|
||||
if (aExact !== bExact) return bExact - aExact
|
||||
|
||||
// 2. When optPrioritizeIngglish is enabled, sort [Ingglish: ...] matches above non-Ingglish matches
|
||||
if (typeof optPrioritizeIngglish !== "undefined" && optPrioritizeIngglish) {
|
||||
var aIng = isIngglishEntry(a[1]) ? 1 : 0
|
||||
var bIng = isIngglishEntry(b[1]) ? 1 : 0
|
||||
if (aIng !== bIng) return bIng - aIng
|
||||
}
|
||||
|
||||
// 3. Then sort by match score descending
|
||||
return b[0] - a[0]
|
||||
}
|
||||
|
||||
function searchDBcrossCipher() { // populate "queryResult" array with matching phrases
|
||||
var p, m, n
|
||||
queryResult = [] // reset matching phrases
|
||||
@@ -145,14 +170,10 @@ function searchDBcrossCipher() { // populate "queryResult" array with matching p
|
||||
}
|
||||
if (tmpArr[0] > 0) queryResult.push(tmpArr) // if total score is more than zero, add phrase to array
|
||||
}
|
||||
// Sort by score descending, but pin exact phrase match to top
|
||||
var searchPhrase = sVal().toLowerCase()
|
||||
// Sort by score descending, pinning exact match and (when enabled) [Ingglish: ...] matches to top
|
||||
var searchPhrase = sVal().toLowerCase().trim()
|
||||
queryResult.sort(function(a, b) {
|
||||
// Exact phrase match always first
|
||||
var aExact = a[1].toLowerCase() === searchPhrase ? 1 : 0
|
||||
var bExact = b[1].toLowerCase() === searchPhrase ? 1 : 0
|
||||
if (aExact !== bExact) return bExact - aExact
|
||||
return b[0] - a[0]; // then by score descending
|
||||
return compareQueryMatches(a, b, searchPhrase)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -185,13 +206,10 @@ function searchDBsameCipher() { // populate "queryResult" array with matching ph
|
||||
}
|
||||
if (tmpArr[0] > 0) queryResult.push(tmpArr) // if total score is more than zero, add phrase to array
|
||||
}
|
||||
// Sort by score descending, but pin exact phrase match to top
|
||||
var searchPhrase = sVal().toLowerCase()
|
||||
// Sort by score descending, pinning exact match and (when enabled) [Ingglish: ...] matches to top
|
||||
var searchPhrase = sVal().toLowerCase().trim()
|
||||
queryResult.sort(function(a, b) {
|
||||
var aExact = a[1].toLowerCase() === searchPhrase ? 1 : 0
|
||||
var bExact = b[1].toLowerCase() === searchPhrase ? 1 : 0
|
||||
if (aExact !== bExact) return bExact - aExact
|
||||
return b[0] - a[0];
|
||||
return compareQueryMatches(a, b, searchPhrase)
|
||||
});
|
||||
}
|
||||
|
||||
@@ -267,9 +285,11 @@ function updateDatabaseQueryTable(stPos = 0, dItems, scrollBarEvent = false) { /
|
||||
|
||||
if (firstPhrase) { // open row on the first phrase
|
||||
firstPhrase = false
|
||||
var ingBtnClass = (typeof optPrioritizeIngglish !== "undefined" && optPrioritizeIngglish) ? "queryPageBtn ingPriorityBtn ingPriorityOn" : "queryPageBtn ingPriorityBtn"
|
||||
ms += '<tr class="cH"><td class="mPQ">'
|
||||
ms += queryResult.length.toLocaleString('en')+' matches'
|
||||
ms += '<br><br>'
|
||||
ms += '<br><input class="'+ingBtnClass+'" id="queryIngPriorityBtn" type="button" value="ING ↑" title="Toggle Ingglish [...] priority sort to top" onclick="event.stopPropagation();conf_PIM()">'
|
||||
ms += '<br>'
|
||||
ms += '<div style="display: inline-flex;">'
|
||||
ms += '<input class="queryPageBtn" id="queryPrevPageBtn" type="button" value="<" onclick="queryShowPrevPage()">'
|
||||
ms += '<input id="queryPosInput" type="tel" autocomplete="off" value="'+curPos+'">'
|
||||
|
||||
+190
-101
@@ -29,107 +29,39 @@
|
||||
--font-family: "Montserrat";
|
||||
--font-family-mono: "Roboto Mono";
|
||||
--font-size-body: 95%;
|
||||
--global-hue: 222;
|
||||
--global-sat: 1;
|
||||
--global-lit: 1;
|
||||
--font-hue: 0;
|
||||
--font-sat: 0;
|
||||
--font-lit: 1;
|
||||
--menu-bg-accent: hsl(
|
||||
var(--global-hue) calc(20% * var(--global-sat))
|
||||
calc(28% * var(--global-lit))
|
||||
);
|
||||
--menu-bg-accent2: hsl(
|
||||
var(--global-hue) calc(20% * var(--global-sat))
|
||||
calc(24% * var(--global-lit))
|
||||
);
|
||||
--breakdown-bg-accent: hsl(
|
||||
var(--global-hue) calc(21% * var(--global-sat))
|
||||
calc(13% * var(--global-lit))
|
||||
);
|
||||
--btn-bg-accent: hsl(
|
||||
var(--global-hue) calc(20% * var(--global-sat))
|
||||
calc(22% * var(--global-lit))
|
||||
);
|
||||
--btn-hover-accent: hsl(
|
||||
var(--global-hue) calc(13% * var(--global-sat))
|
||||
calc(33% * var(--global-lit))
|
||||
);
|
||||
--btn-active-accent: hsl(
|
||||
var(--global-hue) calc(13% * var(--global-sat))
|
||||
calc(39% * var(--global-lit))
|
||||
);
|
||||
--body-bg-accent: hsl(
|
||||
var(--global-hue) calc(22% * var(--global-sat))
|
||||
calc(16% * var(--global-lit))
|
||||
);
|
||||
--query-bg-accent: hsl(
|
||||
var(--global-hue) calc(20% * var(--global-sat))
|
||||
calc(19% * var(--global-lit))
|
||||
);
|
||||
--hist-header-gradient: hsl(
|
||||
var(--global-hue) calc(13% * var(--global-sat))
|
||||
calc(10% * var(--global-lit))
|
||||
);
|
||||
--table-row-odd: hsl(
|
||||
var(--global-hue) calc(14% * var(--global-sat))
|
||||
calc(14% * var(--global-lit))
|
||||
);
|
||||
--table-row-even: hsl(
|
||||
var(--global-hue) calc(12% * var(--global-sat))
|
||||
calc(16% * var(--global-lit))
|
||||
);
|
||||
--input-bg-accent: hsl(
|
||||
var(--global-hue) calc(13% * var(--global-sat))
|
||||
calc(13% * var(--global-lit))
|
||||
);
|
||||
--highlight-date: hsla(
|
||||
var(--global-hue) calc(30% * var(--global-sat))
|
||||
calc(85% * var(--global-lit)) / 0.15
|
||||
);
|
||||
--drag-highlight: hsla(
|
||||
var(--global-hue) calc(80% * var(--global-sat)) calc(70% * var(--font-lit)) /
|
||||
0.2
|
||||
);
|
||||
--drag-highlight-border: hsl(
|
||||
var(--global-hue) calc(80% * var(--global-sat)) calc(70% * var(--font-lit))
|
||||
);
|
||||
--placeholder-color: hsl(
|
||||
var(--global-hue) calc(20% * var(--global-sat)) calc(45% * var(--font-lit))
|
||||
);
|
||||
--checkmark-accent: hsl(
|
||||
var(--global-hue) calc(75% * var(--global-sat)) calc(85% * var(--font-lit))
|
||||
);
|
||||
--font-white-1: hsl(
|
||||
var(--font-hue) calc(100% * var(--font-sat)) calc(92% * var(--font-lit))
|
||||
);
|
||||
--font-white-2: hsl(
|
||||
var(--font-hue) calc(100% * var(--font-sat)) calc(82% * var(--font-lit))
|
||||
);
|
||||
--font-white-3: hsl(
|
||||
var(--font-hue) calc(100% * var(--font-sat)) calc(63% * var(--font-lit))
|
||||
);
|
||||
--font-white-4: hsl(
|
||||
var(--font-hue) calc(100% * var(--font-sat)) calc(30% * var(--font-lit))
|
||||
);
|
||||
--border-accent: hsl(
|
||||
var(--font-hue) calc(100% * var(--font-sat)) calc(41% * var(--font-lit))
|
||||
);
|
||||
--separator-accent: hsl(
|
||||
var(--font-hue) calc(100% * var(--font-sat)) calc(50% * var(--font-lit))
|
||||
);
|
||||
--separator-accent2: hsl(
|
||||
var(--font-hue) calc(100% * var(--font-sat)) calc(30% * var(--font-lit))
|
||||
);
|
||||
--border-dark-accent: hsl(
|
||||
var(--font-hue) calc(100% * var(--font-sat)) calc(23% * var(--font-lit))
|
||||
);
|
||||
--focus-outline: hsl(
|
||||
var(--font-hue) calc(100% * var(--font-sat)) calc(75% * var(--font-lit))
|
||||
);
|
||||
--break-val-accent: hsl(
|
||||
var(--font-hue) calc(100% * var(--font-sat)) calc(41% * var(--font-lit))
|
||||
);
|
||||
--global-hue: 220;
|
||||
--global-sat: 1.4;
|
||||
--global-lit: 0.55;
|
||||
--font-hue: 215;
|
||||
--font-sat: 0.25;
|
||||
--font-lit: 0.96;
|
||||
--menu-bg-accent: #182338;
|
||||
--menu-bg-accent2: #111a2e;
|
||||
--breakdown-bg-accent: #070d1b;
|
||||
--btn-bg-accent: #132038;
|
||||
--btn-hover-accent: #192b4b;
|
||||
--btn-active-accent: #223860;
|
||||
--body-bg-accent: #020617;
|
||||
--query-bg-accent: #0c1324;
|
||||
--hist-header-gradient: #070d1b;
|
||||
--table-row-odd: #0c1324;
|
||||
--table-row-even: #111a2e;
|
||||
--input-bg-accent: #070d1b;
|
||||
--highlight-date: rgba(245, 158, 11, 0.16);
|
||||
--drag-highlight: rgba(56, 189, 248, 0.18);
|
||||
--drag-highlight-border: #38bdf8;
|
||||
--placeholder-color: #64748b;
|
||||
--checkmark-accent: #38bdf8;
|
||||
--font-white-1: #f8fafc;
|
||||
--font-white-2: #e2e8f0;
|
||||
--font-white-3: #94a3b8;
|
||||
--font-white-4: #64748b;
|
||||
--border-accent: #26344d;
|
||||
--separator-accent: #334155;
|
||||
--separator-accent2: #1e293b;
|
||||
--border-dark-accent: #182338;
|
||||
--focus-outline: #38bdf8;
|
||||
--break-val-accent: #f59e0b;
|
||||
}
|
||||
|
||||
html,
|
||||
@@ -1636,6 +1568,23 @@ body {
|
||||
border: 1px solid var(--border-dark-accent);
|
||||
padding: 0em 0.35em;
|
||||
}
|
||||
.ingPriorityBtn {
|
||||
font-size: 82%;
|
||||
margin: 0.25em 0;
|
||||
padding: 0.1em 0.45em;
|
||||
cursor: pointer;
|
||||
opacity: 0.65;
|
||||
transition: opacity 0.15s ease, border-color 0.15s ease, color 0.15s ease;
|
||||
}
|
||||
.ingPriorityBtn:hover {
|
||||
opacity: 0.95;
|
||||
}
|
||||
.ingPriorityBtn.ingPriorityOn {
|
||||
opacity: 1;
|
||||
color: var(--border-accent);
|
||||
border-color: var(--border-accent);
|
||||
font-weight: 600;
|
||||
}
|
||||
#queryMinBtn {
|
||||
position: absolute;
|
||||
width: 24px;
|
||||
@@ -1936,3 +1885,143 @@ input[type="checkbox"] {
|
||||
height: 0px;
|
||||
border: solid 4px var(--checkmark-accent);
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Group 3 ("Stealth Basalt Plate & Micro-Pip Signal Ribbon") Homepage Parity
|
||||
for haiperdohpjematreeah (/calc/)
|
||||
========================================================================== */
|
||||
body.hs-calc-group3-body {
|
||||
background-color: #020617;
|
||||
background-image:
|
||||
linear-gradient(0deg, rgba(14, 22, 40, 0.38) 1px, transparent 1px),
|
||||
linear-gradient(90deg, rgba(14, 22, 40, 0.38) 1px, transparent 1px);
|
||||
background-size: 32px 32px;
|
||||
color: #f8fafc;
|
||||
font-family: "DejaVu Sans Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
}
|
||||
|
||||
.hs-calc-shell {
|
||||
max-width: 1360px;
|
||||
margin: 0 auto;
|
||||
padding: 1.25rem 1.25rem 1.5rem 1.25rem;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
#hsCalcHeader {
|
||||
background: #0f172a;
|
||||
border: 1px solid #334155;
|
||||
border-left: 4px solid #34d399;
|
||||
padding: 1.05rem 1.35rem;
|
||||
margin-bottom: 1.15rem;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.85rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.hs-calc-title-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.65rem;
|
||||
}
|
||||
|
||||
.hs-calc-dot {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background: #34d399;
|
||||
box-shadow: 0 0 10px #34d399;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
#hsCalcHeader h1 {
|
||||
font-size: 0.98rem;
|
||||
font-weight: 700;
|
||||
color: #f8fafc;
|
||||
margin: 0;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
.hs-calc-subtitle {
|
||||
color: #94a3b8;
|
||||
font-size: 0.71rem;
|
||||
margin: 0.25rem 0 0 0;
|
||||
}
|
||||
|
||||
.hs-calc-top-nav {
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 0.38rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.hs-nav-btn {
|
||||
text-decoration: none !important;
|
||||
background: #1e293b;
|
||||
color: #f8fafc !important;
|
||||
border: 1px solid #334155 !important;
|
||||
border-radius: 5px;
|
||||
padding: 0.34rem 0.62rem;
|
||||
font-size: 0.7rem;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
transition: all 0.15s ease;
|
||||
}
|
||||
|
||||
.hs-nav-btn:hover {
|
||||
border-color: #22d3ee !important;
|
||||
color: #22d3ee !important;
|
||||
}
|
||||
|
||||
.hs-nav-btn.primary {
|
||||
background: #22d3ee !important;
|
||||
color: #020617 !important;
|
||||
border-color: #22d3ee !important;
|
||||
}
|
||||
|
||||
#calcMain {
|
||||
background-color: rgba(12, 19, 36, 0.92);
|
||||
border: 1px solid #26344d;
|
||||
padding: 1.25rem 1rem 1.5rem 1rem;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#inputArea {
|
||||
background-color: #070d1b;
|
||||
border: 1px solid rgba(56, 189, 248, 0.45);
|
||||
padding: 0.55rem 0.85rem;
|
||||
margin: 0.75rem auto;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
|
||||
#phraseBox,
|
||||
#highlightBox {
|
||||
background-color: #020617 !important;
|
||||
color: #f8fafc !important;
|
||||
border: 1px solid #334155 !important;
|
||||
font-family: "DejaVu Sans Mono", "Roboto Mono", monospace !important;
|
||||
}
|
||||
|
||||
#phraseBox:focus,
|
||||
#highlightBox:focus {
|
||||
border-color: #38bdf8 !important;
|
||||
outline: none !important;
|
||||
box-shadow: 0 0 8px rgba(56, 189, 248, 0.35);
|
||||
}
|
||||
|
||||
.dropbtn,
|
||||
#queryDBbtn,
|
||||
#enterPhraseBtn,
|
||||
#autoMatchBtn,
|
||||
#hltModeBtn {
|
||||
font-family: "DejaVu Sans Mono", "Roboto Mono", monospace !important;
|
||||
}
|
||||
+4
-3
@@ -1,13 +1,13 @@
|
||||
// =====================================================================
|
||||
// Cypher Calculator Configuration (Default / Opensource)
|
||||
// haiperdohpjematreeah Configuration (Default / Opensource)
|
||||
// Copy this file to config.js and customize for your site.
|
||||
// =====================================================================
|
||||
|
||||
var CALC_CONFIG = {
|
||||
|
||||
// --- Branding ---
|
||||
siteName: "Cypher Calculator", // logo text
|
||||
siteTitle: "Cypher Calculator — Gematria", // browser tab title
|
||||
siteName: "haiperdohpjematreeah", // logo text
|
||||
siteTitle: "haiperdohpjematreeah — Gematria", // browser tab title
|
||||
logoColor: "hsl(148, 60%, 45%)", // green (match code rain)
|
||||
logoGlow: "0 0 8px rgba(0,255,65,0.3), 0 0 16px rgba(0,255,65,0.15)",
|
||||
logoHoverMatrix: true, // flip letters to matrix font on hover
|
||||
@@ -44,6 +44,7 @@ var CALC_CONFIG = {
|
||||
// --- Defaults ---
|
||||
autoMatchDesktop: true,
|
||||
autoMatchMobile: false,
|
||||
prioritizeIngglishMatches: false, // sort [Ingglish: ...] matches to top of query results
|
||||
resultsPerPage: 12,
|
||||
newPhrasesOnTop: true,
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Welcome to Hyperdope-Gematria & Ingglish AQ: A Complete Newcomer's Guide
|
||||
|
||||
If you are brand new to **Hyperdope-Gematria** (`Cypher Calculator`) and have never heard of **Ingglish** or **Alphanumeric Qabbala (AQ)**, this guide walks you through everything from first principles to hands-on discovery in under five minutes.
|
||||
If you are brand new to **Hyperdope-Gematria** (`haiperdohpjematreeah`) and have never heard of **Ingglish** or **Alphanumeric Qabbala (AQ)**, this guide walks you through everything from first principles to hands-on discovery in under five minutes.
|
||||
|
||||
---
|
||||
|
||||
|
||||
+151
-116
@@ -1,17 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Cypher Calculator</title> <!-- updated by config.js -->
|
||||
<title>haiperdohpjematreeah</title> <!-- updated by config.js -->
|
||||
<meta charset="utf-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=520, maximum-scale=1, user-scalable=no"
|
||||
content="width=device-width, initial-scale=1.0"
|
||||
/>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="res/favicon.png" />
|
||||
|
||||
<!-- Android Web App - Add to Home Screen -->
|
||||
<link rel="manifest" href="manifest.json" />
|
||||
|
||||
<script src="config.js?v=11"></script>
|
||||
<script src="config.js?v=12"></script>
|
||||
<script src="lib/jquery.min.js?v=2"></script>
|
||||
<!-- html2canvas v1.0.0-alpha.12 -->
|
||||
|
||||
@@ -20,7 +21,8 @@
|
||||
<script src="calc/init-variables.js?v=9"></script>
|
||||
<script src="calc/ciphers.js?v=6"></script>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="calc/styles.css?v=10" />
|
||||
<link rel="stylesheet" type="text/css" href="calc/styles.css?v=12" />
|
||||
<link rel="stylesheet" type="text/css" href="/assets/hs-group3-basalt-chamfer.css?v=2.14.0" onerror="this.onerror=null;this.href='../hyperstitionstudio-core/site/assets/hs-group3-basalt-chamfer.css';" />
|
||||
|
||||
<script>
|
||||
window.onpaint = function () {
|
||||
@@ -32,116 +34,144 @@
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- initCalc() needs to run before the db loads to create menu properly-->
|
||||
<!-- <body onload="initCalc(true)"> -->
|
||||
|
||||
<body class="hs-calc-group3-body">
|
||||
<div id="loader"></div>
|
||||
<canvas id="canv"></canvas>
|
||||
|
||||
<!-- preload font -->
|
||||
<span style="font-family: 'Roboto Mono'"></span>
|
||||
|
||||
<div id="calcMain">
|
||||
<center>
|
||||
<div id="calcLogo">
|
||||
<div id="logoText"></div>
|
||||
<style>
|
||||
.logoLetter { transition: font-family 0.1s; display: inline-block; }
|
||||
.logoLetter:hover { font-family: matrix-font, monospace; color: #00ffcc; }
|
||||
</style>
|
||||
<div class="hs-calc-shell">
|
||||
<header id="hsCalcHeader" class="hs-plate-g3 plate-lock-emerald">
|
||||
<div>
|
||||
<div class="title-row hs-calc-title-row">
|
||||
<span class="dot hs-calc-dot" aria-hidden="true"></span>
|
||||
<h1>HYPERSTITIONSTUD.IO/CALC // HAIPERDOHPJEMATREEAH WORKBENCH</h1>
|
||||
</div>
|
||||
<p class="subtitle hs-calc-subtitle">82 Ciphers • 231,615 Ingglish-Provisioned db.txt Entries • Progressive Lite → Full Hydration • <span class="hs-sigil-seal" aria-hidden="true">[ ⚚ · ☿ · ☍ · ☉ ]</span></p>
|
||||
</div>
|
||||
<script>
|
||||
(function() {
|
||||
var c = (typeof CALC_CONFIG !== 'undefined') ? CALC_CONFIG : {};
|
||||
var name = c.siteName || "Cypher Calculator";
|
||||
var color = c.logoColor || "#00ff41";
|
||||
var glow = c.logoGlow || "";
|
||||
var el = document.getElementById("logoText");
|
||||
el.style.cssText = "color:"+color+";text-shadow:"+glow+";font-family:'Courier New',monospace;font-weight:bold;font-size:250%;letter-spacing:3px;cursor:default;";
|
||||
if (c.logoHoverMatrix !== false) {
|
||||
el.innerHTML = name.split("").map(function(ch){ return '<span class="logoLetter">'+ch+'</span>'; }).join("");
|
||||
} else {
|
||||
el.textContent = name;
|
||||
}
|
||||
document.title = c.siteTitle || name;
|
||||
})();
|
||||
</script>
|
||||
</center>
|
||||
<nav class="top-nav hs-global-nav hs-calc-top-nav" aria-label="Primary Ecosystem Navigation">
|
||||
<a class="btn hs-nav-btn" id="calcNavHome" href="/">Portal Home (/)</a>
|
||||
<a class="btn primary hs-nav-btn" id="calcNavSelf" aria-current="page" href="/calc/index.html">Calculator</a>
|
||||
<a class="btn hs-nav-btn" id="calcNavQuant" href="/quant/index.html" style="border-color:#f5c630;color:#f5c630;">Quant</a>
|
||||
<a class="btn hs-nav-btn" id="calcNavGraph" href="/graph/index.html" style="border-color:#22d3ee;color:#22d3ee;">Graph</a>
|
||||
<a class="btn hs-nav-btn" id="calcNavLearn" href="/learn/index.html" style="border-color:#34d399;color:#34d399;">Learn</a>
|
||||
<a class="btn hs-nav-btn" id="calcNavEng" href="/engineering/index.html">Engineering</a>
|
||||
<a class="btn hs-nav-btn" id="calcNavMath" href="/math/index.html">Math</a>
|
||||
<span class="nav-donate-sep" aria-hidden="true"></span>
|
||||
<a class="btn-donate-pill" id="calcNavDonate" href="/donate/index.html?from=calc" title="Signal Patronage & Open-Instrument Notes (/donate/)"><span class="donate-pill-emblem" aria-hidden="true">♥</span><span>DONATE</span></a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<center>
|
||||
<div id="calcOptionsPanel"></div>
|
||||
<div id="calcMain" class="hs-plate-g3">
|
||||
<center>
|
||||
<div id="calcLogo">
|
||||
<div id="logoText"></div>
|
||||
<style>
|
||||
.logoLetter { transition: font-family 0.1s; display: inline-block; }
|
||||
.logoLetter:hover { font-family: matrix-font, monospace; color: #38bdf8; }
|
||||
</style>
|
||||
</div>
|
||||
<script>
|
||||
(function() {
|
||||
var c = (typeof CALC_CONFIG !== 'undefined') ? CALC_CONFIG : {};
|
||||
var name = c.siteName || "haiperdohpjematreeah";
|
||||
if (/^cypher\s*calculator$/i.test(name)) {
|
||||
name = "haiperdohpjematreeah";
|
||||
}
|
||||
var color = c.logoColor || "#34d399";
|
||||
var glow = c.logoGlow || "0 0 10px rgba(52,211,153,0.28)";
|
||||
var el = document.getElementById("logoText");
|
||||
el.style.cssText = "color:"+color+";text-shadow:"+glow+";font-family:'DejaVu Sans Mono','Roboto Mono','Courier New',monospace;font-weight:bold;font-size:215%;letter-spacing:3px;cursor:default;";
|
||||
if (c.logoHoverMatrix !== false) {
|
||||
el.innerHTML = name.split("").map(function(ch){ return '<span class="logoLetter">'+ch+'</span>'; }).join("");
|
||||
} else {
|
||||
el.textContent = name;
|
||||
}
|
||||
var rawTitle = c.siteTitle || name;
|
||||
document.title = rawTitle.replace(/cypher\s*calculator/ig, "haiperdohpjematreeah");
|
||||
})();
|
||||
</script>
|
||||
</center>
|
||||
|
||||
<div id="colorControlsMenuArea"></div>
|
||||
<div id="editCiphersMenuArea"></div>
|
||||
<div id="dateCalcMenuArea"></div>
|
||||
<center>
|
||||
<div id="calcOptionsPanel"></div>
|
||||
|
||||
<div id="inputArea">
|
||||
<span id="dbLoadIndicator" style="display:none;margin-right:6px;">
|
||||
<svg width="22" height="22" viewBox="0 0 22 22" style="vertical-align:middle;animation:dbspin 1s linear infinite;">
|
||||
<circle cx="11" cy="11" r="9" stroke="var(--font-color,#0ff)" stroke-width="2" fill="none" stroke-dasharray="40 20" stroke-linecap="round"/>
|
||||
</svg>
|
||||
</span>
|
||||
<style>@keyframes dbspin{to{transform:rotate(360deg)}}</style>
|
||||
<input
|
||||
id="queryDBbtn"
|
||||
class="hideValue"
|
||||
type="button"
|
||||
onclick="queryDatabase()"
|
||||
value="Query"
|
||||
/>
|
||||
<input
|
||||
id="phraseBox"
|
||||
autofocus
|
||||
type="text"
|
||||
spellcheck="false"
|
||||
autocomplete="off"
|
||||
oninput="updateEnabledCipherTable(); updateWordBreakdown(breakCipher,false,false);"
|
||||
onkeydown="if(event.key==='Enter'){phraseBoxKeypress(13)}else{phraseBoxKeypress(event.keyCode)}"
|
||||
ondrop="dropHandler(event)"
|
||||
ondragover="dragOverHandler(event)"
|
||||
/>
|
||||
<input
|
||||
id="enterPhraseBtn"
|
||||
type="button"
|
||||
title="Add phrase to list"
|
||||
onclick="addPhraseOnly()"
|
||||
value="↵"
|
||||
/><input
|
||||
id="autoMatchBtn"
|
||||
class="hideValue"
|
||||
type="button"
|
||||
title="Auto-match ON — click to disable"
|
||||
value="⚡"
|
||||
onclick="toggleAutoMatch()"
|
||||
/>
|
||||
<input
|
||||
id="highlightBox"
|
||||
type="text"
|
||||
spellcheck="false"
|
||||
autocomplete="off"
|
||||
placeholder="highlight #s"
|
||||
/><input
|
||||
id="hltModeBtn"
|
||||
class="hltModeOff"
|
||||
type="button"
|
||||
title="Highlight: any matches (every cell with the value) — click for same column matches"
|
||||
value="▼"
|
||||
onclick="toggleHltMode()"
|
||||
/><span id="clearFilterButton"></span>
|
||||
</div>
|
||||
<div id="colorControlsMenuArea"></div>
|
||||
<div id="editCiphersMenuArea"></div>
|
||||
<div id="dateCalcMenuArea"></div>
|
||||
|
||||
<div id="enabledCiphTable"></div>
|
||||
<div id="inputArea" class="hs-plate-g3">
|
||||
<span id="dbLoadIndicator" style="display:none;margin-right:6px;">
|
||||
<svg width="22" height="22" viewBox="0 0 22 22" style="vertical-align:middle;animation:dbspin 1s linear infinite;">
|
||||
<circle cx="11" cy="11" r="9" stroke="var(--font-color,#0ff)" stroke-width="2" fill="none" stroke-dasharray="40 20" stroke-linecap="round"/>
|
||||
</svg>
|
||||
</span>
|
||||
<style>@keyframes dbspin{to{transform:rotate(360deg)}}</style>
|
||||
<input
|
||||
id="queryDBbtn"
|
||||
class="hideValue"
|
||||
type="button"
|
||||
onclick="queryDatabase()"
|
||||
value="Query"
|
||||
/>
|
||||
<input
|
||||
id="phraseBox"
|
||||
autofocus
|
||||
type="text"
|
||||
spellcheck="false"
|
||||
autocomplete="off"
|
||||
oninput="updateEnabledCipherTable(); updateWordBreakdown(breakCipher,false,false);"
|
||||
onkeydown="if(event.key==='Enter'){phraseBoxKeypress(13)}else{phraseBoxKeypress(event.keyCode)}"
|
||||
ondrop="dropHandler(event)"
|
||||
ondragover="dragOverHandler(event)"
|
||||
/>
|
||||
<input
|
||||
id="enterPhraseBtn"
|
||||
type="button"
|
||||
title="Add phrase to list"
|
||||
onclick="addPhraseOnly()"
|
||||
value="↵"
|
||||
/><input
|
||||
id="autoMatchBtn"
|
||||
class="hideValue"
|
||||
type="button"
|
||||
title="Auto-match ON — click to disable"
|
||||
value="⚡"
|
||||
onclick="toggleAutoMatch()"
|
||||
/>
|
||||
<input
|
||||
id="highlightBox"
|
||||
type="text"
|
||||
spellcheck="false"
|
||||
autocomplete="off"
|
||||
placeholder="highlight #s"
|
||||
/><input
|
||||
id="hltModeBtn"
|
||||
class="hltModeOff"
|
||||
type="button"
|
||||
title="Highlight: any matches (every cell with the value) — click for same column matches"
|
||||
value="▼"
|
||||
onclick="toggleHltMode()"
|
||||
/><span id="clearFilterButton"></span>
|
||||
</div>
|
||||
|
||||
<div id="BreakdownDetails">
|
||||
<div id="BreakdownSpot"></div>
|
||||
<div id="ChartSpotScroll"><div id="ChartSpot"></div></div>
|
||||
</div>
|
||||
</center>
|
||||
<div id="enabledCiphTable"></div>
|
||||
|
||||
<center>
|
||||
<div id="HistoryTableArea"></div>
|
||||
</center>
|
||||
<div id="BreakdownDetails">
|
||||
<div id="BreakdownSpot"></div>
|
||||
<div id="ChartSpotScroll"><div id="ChartSpot"></div></div>
|
||||
</div>
|
||||
</center>
|
||||
|
||||
<center>
|
||||
<div id="HistoryTableArea"></div>
|
||||
</center>
|
||||
</div>
|
||||
|
||||
<footer id="hsGlobalFooter" style="text-align:center;padding:14px 8px;font-family:'DejaVu Sans Mono','Courier New',monospace;font-size:12px;color:#94a3b8;border-top:1px solid #26344d;margin-top:1rem;">
|
||||
<span class="hs-lemur-credit">hyperstitionstud.io/calc v2.14.0 • <span class="hs-sigil-colophon" aria-hidden="true">⚚ · ☿ · ☍ · ☉ · ♄</span> • hyperstitionstud.io/calc v2.16.0 • Made with <span class="hs-heart" role="img" aria-label="love" style="color:#fb7185;display:inline-block;padding:0 2px;">♥</span> by Lemurs.</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<span id="loadPanel"></span>
|
||||
@@ -162,10 +192,27 @@
|
||||
<script src="calc/encoding-ciphers.js?v=2"></script>
|
||||
|
||||
<script src="calc/coderain.js?v=2"></script>
|
||||
<script src="/assets/hs-matrix-coderain.js?v=2.14.0" defer></script>
|
||||
<script src="lib/html2canvas.min.js?v=2"></script>
|
||||
|
||||
<!-- Initialzie the calculator. This needs to run before loading a database or theme. -->
|
||||
<script>
|
||||
// Adapt header links when opened directly over file://
|
||||
if (window.location.protocol === "file:") {
|
||||
var navMap = {
|
||||
calcNavHome: "../hyperstitionstudio-core/site/index.html",
|
||||
calcNavSelf: "./index.html",
|
||||
calcNavQuant: "../hyperstitionstudio-core/site/quant/index.html",
|
||||
calcNavGraph: "../encyclopedia-knowledge-graph/index.html",
|
||||
calcNavLearn: "../hyperstitionstudio-core/site/learn/index.html",
|
||||
calcNavEng: "../hyperstitionstudio-core/site/engineering/index.html",
|
||||
calcNavMath: "../hyperstitionstudio-core/site/math/index.html",
|
||||
calcNavDonate: "../hyperstitionstudio-core/site/donate/index.html?from=calc"
|
||||
};
|
||||
Object.keys(navMap).forEach(function (id) {
|
||||
var el = document.getElementById(id);
|
||||
if (el) el.setAttribute("href", navMap[id]);
|
||||
});
|
||||
}
|
||||
initCalc(true);
|
||||
</script>
|
||||
|
||||
@@ -176,25 +223,21 @@
|
||||
// Show loading indicator
|
||||
document.getElementById("dbLoadIndicator").style.display = "inline";
|
||||
|
||||
// Load pre-computed db.json (instant matching, ~16MB gzipped via mod_deflate)
|
||||
// Falls back to db.txt (2.3MB, live mode with recalculation)
|
||||
var _c = (typeof CALC_CONFIG !== 'undefined') ? CALC_CONFIG : {};
|
||||
var _jsonUrl = _c.databaseJsonUrl || "db.json";
|
||||
var _txtUrl = _c.databaseTxtUrl || "db.txt";
|
||||
var _mode = _c.databaseMode || "auto";
|
||||
var _liteUrl = _c.databaseLiteJsonUrl || "db_lite.json";
|
||||
var _dbVer = _c.databaseVersion ? ("?v=" + _c.databaseVersion) : ""; // cache-bust db.json/db_lite.json on each regen
|
||||
var _dbVer = _c.databaseVersion ? ("?v=" + _c.databaseVersion) : "";
|
||||
|
||||
function _dbLoaded() {
|
||||
document.getElementById("dbLoadIndicator").style.display = "none";
|
||||
var amb = document.getElementById("autoMatchBtn");
|
||||
amb.classList.remove("hideValue");
|
||||
if (!autoMatchEnabled) amb.classList.add("matchOff");
|
||||
// Sync hltModeBtn to the (possibly restored from localStorage) optHltSameCipher value.
|
||||
if (typeof syncHltModeBtn === "function") syncHltModeBtn();
|
||||
}
|
||||
|
||||
// Background: fetch the full 69-cipher set, then swap it in for the lite set.
|
||||
function _fetchFull() {
|
||||
fetch(_jsonUrl + _dbVer)
|
||||
.then(function(r) { if (!r.ok) throw new Error("full db.json " + r.status); return r.json(); })
|
||||
@@ -207,7 +250,6 @@
|
||||
importFileAction(database, true);
|
||||
_dbLoaded();
|
||||
} else {
|
||||
// Progressive: lite first (fast first paint), then full in the background.
|
||||
fetch(_liteUrl + _dbVer)
|
||||
.then(function(r) { if (!r.ok) throw new Error("lite " + r.status); return r.json(); })
|
||||
.then(function(data) { loadPrecomputedDB(data); _dbLoaded(); _fetchFull(); })
|
||||
@@ -225,12 +267,5 @@
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- AUTO LOAD THEME -->
|
||||
<!-- To change the theme uncomment the script below -->
|
||||
|
||||
<!-- <script>
|
||||
var theme = loadFile('theme/white-interface.js');
|
||||
importFileAction(theme, true);
|
||||
</script> -->
|
||||
</body>
|
||||
</html>
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"short_name": "Hyperdope Gematria",
|
||||
"name": "Hyperdope Gematria",
|
||||
"background_color": "#202631",
|
||||
"short_name": "haiperdohpjematreeah",
|
||||
"name": "haiperdohpjematreeah",
|
||||
"background_color": "#020617",
|
||||
"icons": [
|
||||
{
|
||||
"src": "res/calc-logo-32.png",
|
||||
|
||||
Reference in new issue
Block a user