Release v2.15.0: Implement /calc/ (haiperdohpjematreeah) Group 3 homepage UI parity & hyperdope-ci-build upstream patch integration (Plan #60) and parallel CMU Flite kal16/slt + broadcast DSP voice mastering for /quant/ guided tour (Plan #59 Strategies 1A/2A/3A)
This commit is contained in:
1 parent
b01ae3e5e3
commit
e461a9a9ad
7 files changed
+311
-133
No files matched your search
+151
-119
@@ -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,120 +34,145 @@
|
||||
</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="hs-calc-title-row">
|
||||
<span class="hs-calc-dot" aria-hidden="true"></span>
|
||||
<h1>HYPERSTITIONSTUD.IO/CALC // HAIPERDOHPJEMATREEAH WORKBENCH</h1>
|
||||
</div>
|
||||
<p class="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="hs-calc-top-nav" aria-label="Primary Ecosystem Navigation">
|
||||
<a class="hs-nav-btn" id="calcNavHome" href="/">Portal Home (/)</a>
|
||||
<a class="hs-nav-btn primary" id="calcNavSelf" href="/calc/index.html">Calculator</a>
|
||||
<a class="hs-nav-btn" id="calcNavQuant" href="/quant/index.html" style="border-color:#f5c630;color:#f5c630;">Quant</a>
|
||||
<a class="hs-nav-btn" id="calcNavGraph" href="/graph/index.html" style="border-color:#22d3ee;color:#22d3ee;">Graph</a>
|
||||
<a class="hs-nav-btn" id="calcNavLearn" href="/learn/index.html" style="border-color:#34d399;color:#34d399;">Learn</a>
|
||||
<a class="hs-nav-btn" id="calcNavEng" href="/engineering/index.html">Engineering</a>
|
||||
<a class="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.15.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>
|
||||
<footer id="hsGlobalFooter" style="text-align:center;padding:14px 8px;font-family:'Courier New',monospace;font-size:12px;color:#94a3b8;">
|
||||
<span class="hs-lemur-credit">hyperstitionstud.io/calc v2.14.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>
|
||||
|
||||
<span id="loadPanel"></span>
|
||||
|
||||
@@ -165,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>
|
||||
|
||||
@@ -179,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(); })
|
||||
@@ -210,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(); })
|
||||
@@ -228,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>
|
||||
Reference in new issue
Block a user