Skip to content

Commit ac846ef

Browse files
update
1 parent c5dc8e1 commit ac846ef

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/riemannzetascope/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div style="position: absolute; left: 20px; top: 0px; width: 160px; height: 40px; color: #cccccc;">
2828
<a href="https://complexity.zone/"><span style="color: #80cccc; font-size: 16px; line-height: 40px;">complexity.zone</span></a>
2929
</div>
30-
<div style="position: absolute; left: 180px; top: 0px; width: 220px; height: 40px; font-size: 22px; line-height: 40px; color: #cccccc; white-space: nowrap;">
30+
<div style="position: absolute; left: 180px; top: 0px; width: 220px; height: 40px; font-size: 20px; line-height: 40px; color: #cccccc; white-space: nowrap;">
3131
Riemann Zeta Scope
3232
</div>
3333
</div>
@@ -121,12 +121,12 @@
121121
this.calcAnalyticContinuation();
122122
}
123123
calcAnalyticContinuation() {
124-
// Determine zeta by analytic continuation, by using the Dirichlet eta function, which is convergent for Re(s) > 0.
124+
// Estimate zeta by analytic continuation, by using the Dirichlet eta function, the alternating zeta function, which is convergent for Re(s) > 0.
125125
// zeta(s) = (1 / (1 - 2^(1-s))) * eta(s)
126126
// Approach:
127127
// Step 1. Calculate 40000 partial sums of eta.
128128
// Step 2. Estimate eta by taking the average of the halfway points of the last 4 terms.
129-
// Step 3. Multiply the estimation of eta by 1 / (1 - 2^(1-s))
129+
// Step 3. Multiply this estimation of eta by 1 / (1 - 2^(1-s)), to get an estimation of zeta.
130130
const partialSums = [
131131
{
132132
re: 0,
@@ -1951,7 +1951,7 @@
19511951
textAlign: 'left'
19521952
});
19531953
this.components.panelDisplaySection.appendChild(this.components.panelDrawAnalyticContinuationButton);
1954-
this.components.panelDrawAnalyticContinuationButton.title = 'Show gold circle at ζ(σ + i·t)\nMethod of analytic continuation: ζ(s) = η(s) / (1 - 2^(1 - s))\nImplementation is an estimation, inaccuracy is visible when zooming in.';
1954+
this.components.panelDrawAnalyticContinuationButton.title = 'Show gold circle at ζ(σ + i·t)\nMethod of analytic continuation: ζ(s) = η(s) / (1 - 2^(1 - s))\ is the Dirichlet eta function, which is convergent for Re(s) > 0. The value of η is estimated using a simple method, inaccuracy is visible when zoomed in.';
19551955
this.components.panelDrawAnalyticContinuationButton.innerHTML = '<span style="font-size: 10px; margin-left: 7px;"><span style="background-color: #555555; color: #D4AF37;">&nbsp;&nbsp;⬤&nbsp;&nbsp;</span></span><span style="margin-left: 5px;">ζ analytic</span>';
19561956
this.components.panelDrawAnalyticContinuationButton.addEventListener('click', () => {
19571957
this.zetaView.drawAnalyticContinuation = !this.zetaView.drawAnalyticContinuation;
@@ -2049,7 +2049,7 @@
20492049
cursor: 'pointer'
20502050
});
20512051
this.components.panelZetaSection.appendChild(this.components.panelZetaSectionReportDownloadButton);
2052-
this.components.panelZetaSectionReportDownloadButton.title = 'Take snapshot of terms\' properties and download as tab-delimited file.\nYou can copy and paste the file contents into a spreadsheet program like Excel or Google Sheets.';
2052+
this.components.panelZetaSectionReportDownloadButton.title = 'Take snapshot of terms\' properties and download as tab-delimited file.\nYou can copy and paste the file contents into a spreadsheet like Excel or Google Sheets.';
20532053
this.components.panelZetaSectionReportDownloadButton.innerHTML = `
20542054
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#000000" stroke="none" style="position: absolute; left: 5px; top: 1px; width: 12px; height: 12px;">
20552055
<path d="M14,2L20,8V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2H14M18,20V9H13V4H6V20H18M12,19L8,15H10.5V12H13.5V15H16L12,19Z" />
@@ -3689,7 +3689,7 @@
36893689
});
36903690
headerpanel.appendChild(headerpaneldownloadlink);
36913691
const downloadlink = document.createElement('div');
3692-
downloadlink.title = 'All the JavaScript code is in the html file.\nClick here to download the html file, if you want to run it local and tinker with the code.';
3692+
downloadlink.title = 'Download Riemann Zeta Scope html file, if you want to use it offline and/or tinker with the code.';
36933693
Object.assign(downloadlink.style, {
36943694
position: 'absolute',
36953695
left: '10px',
@@ -3726,7 +3726,7 @@
37263726
lineHeight: '20px',
37273727
whiteSpace: 'nowrap'
37283728
});
3729-
downloadlink_text.innerHTML = 'Download';
3729+
downloadlink_text.innerHTML = ''; // 'Download';
37303730
downloadlink.appendChild(downloadlink_text);
37313731
let downloaded = false;
37323732
downloadlink.addEventListener('click', async () => {

0 commit comments

Comments
 (0)