My application demonstrates a basic simple calculator. The program accepts user input of two numbers and then allows users to select an action from a drop-down menu, with an output displayed on the answer box. If the user chooses to right-click, they can freely draw as much as they like. If the user wants to find the mouse position, they can glance up in the right-hand corner to see the X and Y coordinates. If the user wants an absolute number produced they can click the toggle which would return an absolute value. If the user wants a random number produced they can click the random number button. If the user doesn't want to enter via keyboard they can use the slider. If the user wants to slide and turn on the light they can also do that. In the background of the calculator, the user can also draw. The drawing feature allows the object to rotate if the toggle is clicked. The user can hide an object by pressing the key 'Z', and unhide it by pressing the key 'M'. Refresh page to go back to main menu. 

  • Feature 1: 3D Object
    • Input: Mouse right-click
    • Output: a cylinder is drawn wherever you click
  • Feature 2: Mouse Position
    • Input: Mouse Location
    • Output: top right corner box displaying x and y coordinates
  • Feature 3: Input Fields
    • Input: a number 
    • Output: number taken with the operation choose then displayed in the answer box
  • Feature 4: DropDown Menu
    • Input: Mouse Click
    • Output: whatever option is chosen
  • Feature 5: Cylinder Rotation via toggle
    • Input: toggle clicked
    • Output: object rotated 30 degrees across the x-axis. 
  • Feature 6: Hide/Unhide via keyboard
    • Input: Key ‘Z’
    • Output: object hidden 
    • Input: key ‘M’
    • Output: object unhidden
  • Feature 7: instruction button page pop up
    • Input: button clicked
    • Output: a panel page would pop up displaying all the instructions 
  • Feature 8: Calculator Title Animation
    • Input: start of the game
    • Output: visual effect of the title sizing up and down
  • Feature 9: a toggle clicked for an animation     
    • Input: toggle clicked
    • Output: animation
  • Feature 10:  absolute value via toggle
  • Input: toggle clicked
  • Output: result with a pos number
  • Feature 11:  random number via button
    • Input: button clicked, in left input and right input
    • Output: a random number between left and right
  • Feature 12: user input via slider
    • Input: slider moved
    • Output: number imputed left side and right input
  • Feature 13: daylight light slider
    • Input: slider changed 
    • Output: day light is shown


Leave a comment

Log in with itch.io to leave a comment.