// ======================== Quickstart Guide ========================
function closePanel(el) {
$('#darkOverlay').remove();
$(el).remove();
$('body').removeClass('noScroll') // restore scrolling
}
function displayQuickstartGuide() {
$('
'
o += '
Quickstart Guide
'
o += '
'
o += '
'
o += '
'
o += '
Phrase Box - enter any word, phrase or number
\n
- "Enter" - add phrase to history table
- "Up" and "Down" arrow keys - select phrase from history table
Press "Down" to select previously entered phrase - "Delete" - delete current phrase from history table
- Additional Shortcuts:
"Home" - clear history table
"End" - shortcut for "Enter As Words" function
'
o += '
Highlight Box - enter space delimited numbers
\n
- "Enter" - activate filter (remove nonmatching phrases and ciphers)
- "Delete" - clear box contents (does not reset filter)
Note: Reset filter with an "X" button near the box - Additional Shortcuts:
"Insert" - find all available matches
"Ctrl + Delete" - reset filter and revert to initial history state
Note: Type "0 0" or "Ctrl + Left Click" on "0" cell twice to highlight zero
History table is recalculated on each keystroke
'
o += '
Enabled Ciphers Table
\n
- "Left Click" on cipher name - choose cipher, display detailed word breakdown
- "Right Click" on cipher name - disable cipher
- "Ctrl + Right Click" on cipher name - reorder ciphers, select the same cipher to cancel
- "Left Click" on number - show number properties
- "Right Click" on number - show additional number properties
'
o += '
Number Properties
\n
- "Ctrl" key pressed, mouse over number - show number properties
- "Shift" key pressed, mouse over number - show additional number properties
- All properties are supported only for values up to 10 million
- Drag cursor across the tooltip to close it
Mobile devices - click on the tooltip first, then click outside to close
Note: Number Properties are available inside Enabled Ciphers Table, History Table and Query Table
'
o += '
Cipher/Breakdown Chart
\n
- "Left Click" on letters/values to highlight cells
'
o += '
History Table
- "Left Click" on value - toggle blinking effect (temporary)
- "Right Click" on value - toggle cell visibility (temporary)
- "Shift + Left Click" on cipher name - disable cipher
- "Shift + Left Click" on phrase - delete phrase from history
- "Ctrl + Left Click" on phrase - load phrase into Phrase Box
- "Ctrl + Right Click" on phrase - reorder phrases, select the same phrase to cancel
- "Ctrl + Left Click" on value (cell) - toggle highlighting for number
Highlighter always recalculates table, temporary effects are removed
Note: Click on cell, not on the number itself, otherwise you will open number properties
'
o += '
'
o += '
Options
'
o += '
- "Number Calculation"
- Full (123 = 123) - default
- Reduced (123 = 1+2+3 = 6)
- Off
'
o += '- "Matrix Code Rain" - use dynamic background
'
o += '- Highlighter has two different modes:
- "Cross Cipher Match"
- "Same Cipher Match"
Note: If there is just one value, only "Cross Cipher Match" will pick that
'
o += '- "Show Only Matching" - when highlighter is active, sets opacity of nonmatching values to zero
'
o += '- "Show Extra Ciphers" - toggle "Extra" category with experimental ciphers
'
o += '- "Ignore Comments [...]" - exclude any text inside square brackets from gematria calculation
Note: Comments are preserved on export/import '
o += '- "Live Database Mode" - disable this option to generate a precalculated database on file import
Note: More information is available in the "Databases" section of this guide '
o += '- "New Phrases Go First" - new phrases are inserted at the beginning of History Table
'
o += '- "Phrases on DB page" - specify the amount of phrases on one page of Database query results
'
o += '- "Scroll DB by lines" - set scrolling speed inside Database query results
'
o += '- "Letter/Word Count" - show number of recognized (by current cipher) letters and words
'
o += '- "Word Breakdown" - show detailed breakdown for current phrase
'
o += '- "Compact Breakdown" - do not show full phrase (plain text) inside breakdown table
'
o += '- "Cipher Chart" - show a table of correspondences between letters and values for current cipher
'
o += '- "Gradient Charts" - toggle fill style for "Word Breakdown" and "Cipher Chart"
'
o += '- "Switch Ciphers (CSV)" - enable previously selected ciphers on history file import
'
o += '
'
o += '
Features
'
o += '
Gematria Calculation
\n
- Standard (default) - each character is substituted with a corresponding value and values for all characters in phrase are simply added together
- Multiplication - each character value is multiplied by its position in a phrase (based on Mispar Ha'achor)
- Reversed Multiplication - each character value is multiplied by its position in a phrase counting from the last character (based on Mispar Bone'eh)
More information on these methods - https://torahcalc.com/info/gematria/
'
o += '
Date Calculator
\n
- Calculate interval between two dates according to Gregorian calendar, supports Add/Subtract mode
Note: Make sure to consult timeanddate.com or other websites for precise calculations for old dates or other calendars (e.g. Julian) - Left Click on "From" or "to" label to set a custom date description
- Left Click to highlight line with date durations
- Right Click to remove line with date durations
Note: Toggle "Include End Date" checkbox to bring the removed lines back- You can import a text file to calculate durations between multiple dates at once.
One date per line, M/D/YYYY format, comments are optional:
GEMATRO_DATES
1/28/2006 [comment]
11/7/1968 [comment]
'
o += '
Color Controls
\n
- Change interface, font or cipher colors (HSL - Hue, Saturation, Lightness)
- Make sure to "Save Settings" or "Export Settings (JS)" before you make any modifications inside "Edit Ciphers" menu
'
o += '
Edit Ciphers
\n
- "Left Click" on cipher name in Enabled Ciphers Table to edit existing cipher or make a new one based on existing one
- Cipher names are unique; if name matches, it means an existing cipher is modified
- Existing cipher can be moved to a different category (it will be added as last item in that category)
- Any cipher category can be created
- Cells with individual letters or values can be modified
- Unicode characters are supported
- Color controls are reset on any change in "Edit Ciphers" menu
'
o += '
Encoding
\n
Encoder supports 3 different modes, all of which can work with Normal or Multiplicative Gematria Calculation modes.
Positive values are supported; use -0 as a matching value for zero.
Read section about Databases for additional information and Query Table tips.\n
\n- Syllables (default) - syllables generated from "Alphabet" and "Vowels" fields (excluding letters from "Exclude" field) are used to create a matching phrase. You can type start;end or start; or ;end inside Phrase Box to construct a complex phrase
Note: Anagrams are available for Normal gematria calculation mode only. Use "Odd letters" option to switch between even/odd phrase length - Database (1 phrase) - uses a single phrase from currently loaded Live Database. You can use start;end constructor (and its variations) in the Phrase Box
Note: Make sure that gematria value of current (additional) text in the Phrase Box is less than matching value, otherwise no results will be found - Database (2 phrases) - uses two phrases from currently loaded Live Database. You can use start;middle;end constructor (and its variations, e.g. ;;end) in the Phrase Box
Note: This mode is very computationally expensive and can be really slow on some devices (Firefox can be ~7x slower compared to Chrome, try different browsers). It is not recommended to use a database with more than 20,000 entries (n^2 combinations). If this mode is used with Multiplicative gematria calculation mode, it becomes even slower. Encoding (2 phrases) for ciphers with negative values is the slowest mode, it can take minutes, so use a smaller database or one phrase mode
'
o += '
"Find Matches" - populate Highlight Box with numbers that match at least twice inside History Table
Note: Cipher filter is not applied, you can press "Enter" inside Highlight Box to show matching ciphers only
'
o += '
"Enter As Words" - read text from Phrase Box one word at a time until a certain phrase length is reached, then move on to the next starting word, process is repeated until all words are entered into History Table
Note: Change "Word limit" value to specify maximum phrase length
'
o += '
"Clear History" - remove all entries from History Table
'
o += '
'
o += '
Export
'
o += '
- "Print Cipher Chart", etc - render correspondent element as an image (PNG), image preview is opened first
Note: If text or table are misaligned, click "Refresh" button to generate a new image '
o += '- "Import File" - import a .txt file (one phrase per line), previously exported CSV history, exported matches or user ciphers
Note: You can also drag and drop file into Phrase Box '
o += '- "Create Database (TXT)" - convert a .txt file into Live Database format
Note: Database contains unique words which are sorted by alphabetical order '
o += '- "Export History (CSV)" - export phrases from current history table as a CSV file, semicolon is used as separator, first row contains cipher names
'
o += '- "Export Matches (TXT)" - export all available matches from current history table as a text file, current highlighter mode ("Cross Cipher Match" or "Same Cipher Match") is used during export
Note: Matches can be imported back into calculator '
o += '- "Save/Load/Reset" - save, load or reset current calculator and ciphers settings for this browser (localStorage)
Note: Use "Reset" twice to clear all localStorage. Saved settings do not persist if you clear cache, use Incognito mode or a different browser on the same device '
o += '- "Export Settings (JS)" - export current calculator settings and ciphers as a separate file. Ciphers active at the moment of export become the new default ones
Note: You can edit file manually with a text editor, make sure to keep formatting
Any changes made to options or menu settings are saved as well
If you want to permanently change settings, you can download an offline version of the calculator from GitHub repository and replace "ciphers.js" file inside "calc" directory
Online and offline versions are identical
'
o += '
'
o += '
Databases
'
o += '
- Import a properly formatted TXT file to activate database query mode. Live Database Mode is used by default, however GEMATRO can generate a precalculated database as well
Note: File should contain one phrase per line, the first line must be
CREATE_GEMATRO_DB '
o += '- "Ignore Comments [...]" flag affects database generation
Note: When database is loaded, calculator should use the same mode of "Ignore Comments [...]" as at the moment of database generation, otherwise values inside database and calculator will differ. The same is valid for number calculation settings '
o += '- Precalculated (CSV) database can be generated when "Live Database Mode" is disabled. Database will have values only for currently selected ciphers. Those ciphers (and calculator options) are stored inside the database as well (at the end of file).
Note: When precalculated database is loaded, calculator will allow to use only those ciphers which are available inside that database
For example, if you load a database that contains values only for English Ordinal cipher, English Ordinal becomes the only available cipher for any calculations until you unload the database. "Live Database Mode" calculates all values on the fly and can work with any ciphers, however this mode is slower and there is no separate file with precalculated gematria values '
o += '- After you import a properly formatted text file for database generation, calculation will start immediately and a dialogue that offers to save new precalculated database will appear
Note: Process may take some time, please be patient '
o += '- When a database is imported, new elements become available:
- "Query" - match current phrase or number against database
- "Clear DB Query" (Features) - close current Query Table and switch back to centered interface
- "Unload Database" (Features) - unload database and restore initial ciphers; History Table is preserved
- "Export DB Query (CSV)" (Export) - save matching phrases from database as a CSV file
'
o += ' - "Cipher Edit" (and rearrangement) is not available when a precalculated database is loaded
'
o += '- Current highlighter mode ("Cross Cipher Match" or "Same Cipher Match") controls database query
Note: "Show Only Matching" option hides nonmatching values as well '
o += '- Query is based on current cipher selection; there is no limit for the amount of enabled ciphers
'
o += '- Input any phrase into the "Phrase Box" and press "Query" button to match against currently loaded database
- Numerical input is supported, several numbers are recognized as well:
74 0 142
Note: In the example above, the first enabled cipher will be matched against 74 and the third cipher will be matched against 142
'
o += '
Query Table
\n'
o += '
- Use Search Bar to filter results
- "Enter" - apply filter
Note: If box is empty, filter is cleared - "Delete" - clear filter
Note: Search Bar supports regular expressions'
o += ' - Use "Up" and "Down" arrow keys to scroll one page at a time or use the mouse wheel
Note: Up/Down arrow keys work only when input is focused inside textbox with current index - A horizontal scroll bar above the table can be used for navigation as well or you can input the exact position inside the box with index
'
o += '- Drag the bottom-right corner of the Query Table to resize it
Hint: Extend the table in case if long phrases do not fit on one line '
o += '- "Ctrl + Left Click" on phrase - load phrase from Query Table into Phrase Box and add it to History Table
'
o += '- "Left Click" on button in the top right corner to temporarily minimize the table if it obstructs the interface (left click again to bring the table back)
Hint: You can zoom the page out if too many ciphers are active
'
o += '
'
$(o).appendTo('body'); // guide
$('body').addClass('noScroll') // prevent scrolling
}
// function displayContactInfo() {
// $('