Skip to content

Debkumar-Baksi/BMI_Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

🧮 BMI Calculator Application - Tkinter

📜 Description

The BMI Calculator is a Python-based desktop application built using the Tkinter library. It calculates the Body Mass Index (BMI) based on your height (in centimeters) and weight (in kilograms) and provides a health assessment with personalized recommendations. This project features a modern, interactive design with dynamic visual feedback, making it both functional and enjoyable to use.


✨ Features

  • 🎨 User-Friendly Interface:

    • Modern design with vibrant colors and well-organized sections.
    • Intuitive sliders for height and weight with real-time updates.
  • 📊 Dynamic BMI Calculation:

    • Calculates BMI using the formula:
      [ \text{BMI} = \frac{\text{Weight (kg)}}{\text{Height (m)}^2} ]
    • Displays BMI value with corresponding health insights.
  • 🖼️ Interactive Image Animation:

    • A dynamic character image adjusts its size based on the height input.
  • ⚕️ Health Classification:

    • Provides health advice based on BMI:
      • Underweight: Suggestions for gaining healthy weight.
      • Normal: Indicates good health.
      • Overweight: Advises weight management.
      • Obese: Warns about potential health risks.
  • 🖌️ Beautiful Graphics:

    • Custom icons, illustrations, and color themes for an attractive design.
  • 🖥️ Cross-Platform Compatibility:

    • Runs on all major operating systems with Python and Tkinter installed.

🛠️ Installation

Follow these steps to set up and run the application:

  1. Prerequisites:

    • Python 3.8 or higher installed.
    • Required libraries: tkinter, Pillow.
  2. Clone the Repository:

    git clone https://github.com/Debkumar-Baksi/bmi-calculator.git
    cd bmi-calculator
  3. Install Dependencies: Install the required libraries:

pip install pillow
  1. Add Required Files: Place the following image files in the project directory:
  • icon.png 🖼️ (App icon)
  • top.png 🖼️ (Top banner image)
  • box.png 🖼️ (Input box images)
  • man.png 🖼️ (Dynamic character image)
  • scale.png 🖼️ (Scale illustration)
  1. Run the Application:
python bmi_calculator.py

🚀 Usage

  • Launch the application to open the BMI Calculator window.
  • Use the sliders to adjust your height and weight values, or enter them manually in the input boxes.
  • Press the View Report button to calculate your BMI and receive personalized feedback.

🤝 Contributing

  • Contributions are welcome!
  • Feel free to fork the repository, make enhancements, and submit a pull request.

📄 License

This project is licensed under the MIT License.

👤 Author

Debkumar Baksi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages