Simple Pythagorean Theorem Calculator Native Desktop Application
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
Development of a simple calculator desktop application for a job interview test.
The main features of this application are:
- Calculation of the hypotenuse from the two sides;
- Calculation of the side from the hypotenuse and the other side;
- Button to copy the result to the device's clipboard;
- Button to clear form fields;
The main technologies used for the development of this project are:
Other repositories related to the development of this project:
To clone and run this project locally, follow these simple example steps:
To run this project, you need to install:
- Clone the repo
git clone https://github.com/gspetillo/pythagorean-calculator-desktop.git
- Install the dependencies
npm install
- Run project
npm start
- Pull
electron-packagerdependency fromnpmnpm install electron-packager -g
- Run packager and generate
/release-buildsdirectoryelectron-packager . --overwrite --platform=win32 --arch=ia32 --prune=true --out=release-builds --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName="Pythagorean Calculator"
- Run application by executing
pythagorean-calculator.exefile on project directorystart ./release-builds/pythagorean-calculator-win32-ia32/pythagorean-calculator.exe
This website can be used to perform simple calculations involving the Pythagorean theorem. The main formulas of this theorem used in this project are:
c = √(a² + b²)
a = √(c² - b²) or b = √(c² - a²)
For examples, please acess Khan Academy.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project (Fork button on Github)
start https://github.com/gspetillo/pythagorean-calculator-desktop- Create your Feature Branch
git checkout -b feature/AmazingFeature- Commit your Changes
git commit -m 'Add some AmazingFeature'- Push to the Branch
git push origin feature/AmazingFeature- Open a Pull Request (Pull Request page on Github)
start https://github.com/gspetillo/pythagorean-calculator-desktop/pullsDistributed under the CC0-1.0 License. See LICENSE for more information.
Gabriel Petillo - Linkedin - Github - Medium - Email
Project Link: https://github.com/gspetillo/pythagorean-calculator-desktop
