/vanadium_periodic_mass_calculator

An application developed under .NET 4.6.1

Primary LanguageC#MIT LicenseMIT

Vanadium chemical analysis and calculation

This app was developed during the summer of 2019. Personal archived project.

Description

Vanadium is a Windows application developed in C# using WinForms that provides tools for chemical analysis and calculation. It features a periodic table, a molecular mass calculator, and a degree of unsaturation calculator. The application also includes parsers for popular chemical formulas and elements, which are stored in TXT format.

Motivation

The development of Vanadium was driven by a personal need to simplify the process of completing chemistry homework. By creating a tool that combines an interactive periodic table, a molecular mass calculator, and a degree of unsaturation calculator, I aimed to make my own study sessions more efficient and productive. This app has helped me complete assignments faster and with greater accuracy, and I hope it can do the same for other students and chemistry enthusiasts.

Features

Periodic table

  • Interactive periodic table with detailed information about each element.
  • Custom WinForms controls to enhance user experience.

Molecular mass calculator

  • Calculates the molecular mass of chemical formulas with a custom parser.
  • Includes the most popular chemical formulas used in problem solving

Degree of unsaturation calculator

  • Computes the degree of unsaturation for given chemical formulas.
  • Supports various elements and their common valences.

Tab system

  • Includes a tab system custom written in WinForms.
  • To close a tab right click a icon in the top left side of the app.
  • To add one click on the + button. A dropdown will show the available tabs.

Clipboard system

  • A button with the icon of clipboard will copy the result.

Preview elements

  • A custom made engine to draw electrons of the elements and show important information about each one.

Screenshots

Periodic table

image image

Molecular mass calculator

image

Unsaturation calculator

image

Search system for elements

image

How to use the app

Prerequisites

  • Windows operating system (at least Windows 7)
  • .NET Framework installed (version 4.6.1)

Installation

  1. Clone this repo:
git clone https://github.com/davidrobertbrt/vanadium_periodic_mass_calculator.git
  1. Open the solution file in Visual Studio.
  2. Build the solution to restore the necessary packages.
  3. Run the application

Usage

  1. Periodic Table:

    • Navigate through the elements to view their properties.
    • Use the search functionality to find specific elements quickly.
    • To see the electron structure click on the element and a preview will open in another window.
  2. Molecular Mass Calculator:

    • Enter a chemical formula to calculate its molecular mass.
    • The calculator already has a wide range of common chemical formulas. Any formula can be computed.
    • Formula structure in text is:
H2O for example computes the molecular mass of water. The app supports an infinite amount of chemical elements. Also the number of atoms can be as big as you want. The app computes for the next element if the number of atoms has been parsed.
  1. Degree of unsaturation calculator:
    • Input a chemical formula to determine its degree of unsaturation.
    • Supports elements like Carbon, Hydrogen, Nitrogen, Oxygen, and halogens.

Controls

  • Right click closes a tab which are shown in the top-left side of the app.
  • Clicking the clipboard copies a result computed.

Contributing

This project is no longer under active development.

Thank you to

Special thank you to my high school computer science teacher Nicolae Olaroiu for mentoring me.