Skip to content
Notifications You must be signed in to change notification settings

CyrilSLi/zeus-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Nov 16, 2025
efbf195 · · Nov 16, 2025

History

9 Commits
Nov 16, 2025
Nov 16, 2025
Nov 16, 2025

Repository files navigation

Zeus Calculator

An open source calculator platform

2025-11-16T03:44:31,079523776-05:00

Name

Alluding to a popular Omni(potent-ish) Calculator website, Zeus is a Greek god who rules as king of the gods.

Usage

The entire project can be run locally by opening index.html or on any static site hosting service.

Adding New Calculators

Calculators are defined as objects in the data.js file with the key being a unique ID and the value being an object with the following properties:

  • name: A human-readable name of the calculator
  • description: A brief description of its purpose
  • vars: An array of variables used in the calculation:
    • name: A human-readable name of the variable
    • symbols: A list of alternative symbols for the variable. All variables must have the same number of alternative symbols.
  • required_vars: The number of variables which must be provided to calculate the result. Currently the result is expected to fill all remaining variables.
  • func: A JavaScript function which takes an array of input variables (currently floats or null) and returns an array of output variables.

TODO

  • Input-only & Output-only fieldselds
  • Dropdown / radio button fields
  • Ability to display more than one answer (e.g. quadratic formula)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published