Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

📐 Coordinate Converter

Coordinate Converter

Convert between Cartesian, Cylindrical and Spherical Coordinate Systems using Flutter.

Flutter

Dart

Platform

License


✨ Overview

Coordinate Converter is a Flutter application that converts points between the three most common 3D coordinate systems.

The application performs all mathematical calculations manually without using external conversion libraries.

Supported systems:

  • Cartesian Coordinates
  • Cylindrical Coordinates
  • Spherical Coordinates

📸 Screenshots

🏠 Home


📍 Cartesian Coordinates

Cartesian Input Result

📍 Cylindrical Coordinates

Cylindrical Input Result

📍 Spherical Coordinates

Spherical Input Result

✨ Features

  • Convert Cartesian coordinates.
  • Convert Cylindrical coordinates.
  • Convert Spherical coordinates.
  • Instant conversion to all coordinate systems.
  • Manual mathematical calculations.
  • Responsive UI.
  • Reusable Widgets.
  • Clean Architecture.
  • Null Safety.

🧮 Mathematical Formulas

Cartesian → Spherical

r = √(x² + y² + z²)

θ = arccos(z / r)

φ = atan2(y, x)

Cartesian → Cylindrical

ρ = √(x² + y²)

φ = atan2(y, x)

z = z

Cylindrical → Cartesian

x = ρ cosφ

y = ρ sinφ

z = z

Cylindrical → Spherical

r = √(ρ² + z²)

θ = atan2(ρ, z)

φ = φ

Spherical → Cartesian

x = r sinθ cosφ

y = r sinθ sinφ

z = r cosθ

Spherical → Cylindrical

ρ = r sinθ

φ = φ

z = r cosθ

📂 Project Structure

lib
│
├── models
│   └── coordinate_result.dart
│
├── utils
│   ├── coordinate_converter.dart
│   └── coordinate_sys_enum.dart
│
├── views
│   └── converter_view.dart
│
├── widgets
│   ├── coordinate_input_field.dart
│   └── result_box.dart
│
└── main.dart

🚀 Getting Started

Clone the repository

git clone https://github.com/Muhammadkhiry/coordinate_converter.git

Move into the project

cd coordinate_converter

Install packages

flutter pub get

Run the application

flutter run

🛠️ Built With

  • Flutter
  • Dart
  • Material Design

🔮 Future Improvements

  • Dark Mode
  • Conversion History
  • Copy Result
  • Responsive Desktop Layout
  • Unit Testing
  • Animations

👨‍💻 Author

Muhammad Khiry

Computer and Systems Engineering Student

GitHub

https://github.com/Muhammadkhiry


⭐ If you found this project useful, don't forget to star the repository.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages