Code Monkey home page Code Monkey logo

arm2df's Introduction

ARM2DF

Augmented Reality Mathematical 2D Functions

Introduction

This program allows you to view graphs of mathematical functions in two dimensions, defined by the user, in the real world through the aid of augmented reality. The program exploits the power of the Unity 3D graphics engine and the Kudan AR library for augmented reality. The program was created thanks to the presence of various online tutorials that will be referenced at the end of the description. The aims of the program are not particularly defined, the project is born for pure fun and curiosity.

Tools used

  • Kudan AR
  • Unity3D
  • ExpressionParser
  • LeanTouch

Minimum requirements

  • Any Android device
  • Minimum API = 21 (Marshmallow 5.0)
  • Maximum API = automatic

Constants and mathematical functions allowed

  • PI
  • e
  • Square root
  • Absolute value
  • Natural Logarithm
  • Floor function
  • Ceil function
  • Sin
  • Cos
  • Tan
  • Asin
  • Acos
  • Atan
  • Atan2
  • Random function
  • Common mathematical operatos ( +, -, ^, /, * )

The x value

The values assumed by the x start from 0 up to the number set in the resolution slider.

Instruction

  1. Press "Formulas" button.
  2. Compose the functions to be displayed
  3. Press "OK" button to confirm
  4. Press "Respawn" to visualize the mathematical graph
  5. Press "DEL" to remove the formula and the graph
  6. Hit the "Respawn" button every time you move and you want to view the graph
  7. If you want, you can take a photo by pressing "Shoot" button (the path of the output file saved is Internal Storage/Android/com.michele.arm2df/files/Screenshot.png
  8. If you want, you can change the resolution of the line function by scrolling the value in the slider on the right

Program features

  • Horizontal Surface Detection
  • Photo Capture
  • Scaling the graph (using two fingers)
  • Rotate the graph (sliding your finger horizontally)
  • Change the line function resolution

References

Pictures

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.