Giter Site home page Giter Site logo

sandeep-shaw10 / shapes-2d Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 2.14 MB

A beginner React Native Android App for 2D Shapes calculation

License: MIT License

JavaScript 1.04% TypeScript 81.25% Ruby 3.14% Java 9.93% Objective-C 3.10% Objective-C++ 1.53%
android-app native-stack react-native react-native-svg shape-calculator typescript shape-2d

shapes-2d's Introduction

Banner

Shape Calculator 2D

Shapes Calculator 2D is a powerful and intuitive app for calculating the geometric properties of 2D shapes with ease. Whether you need to find the area, angles, diagonal, or perimeter of a circle, square, rectangle, triangle, rhombus, trapezium, N-gon, or parallelogram, this app has you covered. With its user-friendly interface, you can easily select the input and output units that suit your needs, including m, cm, km, inches, ft, and yard.

React Native TypeScript

coverage

Features

  • Calculate the properties of 8 different 2D shapes
  • Select input and output units from a range of options
  • Find area, angles, diagonal, and perimeter with ease
  • Intuitive and user-friendly interface
  • Suitable for students, teachers, and professionals alike
  • Supports both metric and imperial units
  • Ad-free for a seamless user experience
  • Support rounding off to overcome Floating Point Errors

Preview and Screenshots

Image 1

Available Shapes

Circle

(radius) => {
    radius,
    diameter,
    circumference,
    area
}

Square

(side) => {
    side,
    diagonal,
    perimeter,
    area
}

Rectangle

(length, breadth) => {
    length, breadth,
    diagonal,
    perimeter,
    area
}

Triangle

(side1, side2, side3) => {
    side1, side2, side3,
    angle1, angle2, angle3,
    circumradius,
    inradius
    perimeter,
    area
}

Rhombus

(diagonal1, diagonal2) => {
    diagonal1, diagonal2,
    angle1, angle2,
    side,
    perimeter,
    area
}

Trapezium

(base1, base2, height) => {
    base1, base2, height,
    area
}

N-Gon

(side, length) => {
    side, length,
    apothem,
    perimeter,
    area,
    interior-angle,
    exterior-angle
}

Parallelogram

(base-side, adjacent-side, height) => {
    base-side, adjacent-side, height,
    angle1, angle2,
    diagonal1, diagonal2,
    perimeter,
    area,
}

Available Units

  • Centimeter
  • Meter
  • KiloMeter
  • Foot
  • Inch
  • Yard

Project Dependencies

  "dependencies": {
    "@miblanchard/react-native-slider": "^2.3.1",
    "@react-native-clipboard/clipboard": "^1.11.2",
    "@react-navigation/native": "^6.1.6",
    "@react-navigation/native-stack": "^6.9.12",
    "@react-navigation/stack": "^6.3.16",
    "react": "18.2.0",
    "react-native": "0.71.6",
    "react-native-element-dropdown": "^2.9.0",
    "react-native-safe-area-context": "^4.5.0",
    "react-native-screens": "^3.20.0",
    "react-native-svg": "^13.9.0"
  },

Installation

Android

You can install the app by downloading the APK file from here and installing it on your Android device.

android-tested apk

iOS

For iOS devices, the app is currently not available on the App Store.

ios-untested ipa

Usage

  • Open the Shapes Calculator 2D app on your Android device.
  • Select the shape you want to calculate the properties for.
  • Enter the dimensions of the shape and select the input and output units.
  • Tap on the "Calculate" button to see the results.

Credits

This app was developed by @sandeep-shaw10.

License

This project is licensed under the MIT License - see the LICENSE file for details.

shapes-2d's People

Contributors

sandeep-shaw10 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.