An experimental prototype calculator.

Related tags

Calculator NumberPad
Overview

What is NumberPad

NumberPad is an experimental prototype to explore how we write, visualize, and manipulate math equations. This post highlights some of the interesting features.

Handwriting recognition and a constraint solver let the iPad do the rote algorithms of algebra so you can work at a higher level. It is inspired by the constraint solver in Structure and Interpretation of Computer Programs.

After reading the post that explains the notation, watch this video showing a visualization of the pythagorean theorem.

Using NumberPad

Draw a number, or "x", "/", "+", or "-". Unfortunately, these can only be recognized one at a time. The handwriting recognizer kicks in if you wait a bit, or if the next stroke you draw is sufficiently far away.

Drag from a number to a multiplier or adder to connect them. Tap and hold to move objects around. Use two-finger tap to delete something (couldn't get double-tap to work...). Tap a single time on a number to show the slider.

Building

This project has several targets. The main math app is the NumberPad target. There is also a DigitRecognizer target that is for working on the handwriting recognition alone. The DigitRecognizerSDK is a dependency of both of them, and contains the algorithms for the handwriting recognition. It is in a separate target so that the compiler can optimize it indepdently.

Sometimes, when building NumberPad, Xcode will complain that it can't build DigitRecognizerSDK. Building the DigitRecognizer target and then going back to NumberPad seems to fix this issue. ¯\_(ツ)_/¯

Misc

I am providing code in this repository to you under an open source license. Because this is my personal repository, the license you receive to my code is from me and not from my employer (Facebook).

You might also like...
Splito - Nice and easy-to-use billing and tip calculator with swift
Splito - Nice and easy-to-use billing and tip calculator with swift

Splito! Nice and easy-to-use billing and tip calculator

Bmi calculator app (iOS)
Bmi calculator app (iOS)

BMI Calculator Our Goal The goal of this tutorial is to learn more about Optionals, solidify your understanding of the MVC design pattern and to intro

CodePathPrework - The pre-work assignment for the CodePath program. Involves making a tip calculator using XCode.

Pre-work - Tip Calculator Tip Calculator is a tip calculator application for iOS. Submitted by: David Zhu Time spent: 3 hours spent in total User Stor

A clone of the built-in iOS Calculator APP for iPadOS, using SwiftUI
A clone of the built-in iOS Calculator APP for iPadOS, using SwiftUI

A clone of the built-in iOS Calculator APP for iPadOS, using SwiftUI Yes, it looks exactly the same as the iOS built-in Calculator The UI is implement

Recreation of calculator-checklist project in SwiftUI

Calculator Checklist A project created out of curiosity to test the waters of SwiftUI, Apple's new UI Framework. The caculator-checklist concept was o

BMI-Calculator - An app which calculates the BMI and gives suggestion
BMI-Calculator - An app which calculates the BMI and gives suggestion

BMI-Calculator An app which calculates the BMI and gives suggestion with MVC pat

BodyMassIndexCalculator - A multiscreen BMI Calculator app
BodyMassIndexCalculator - A multiscreen BMI Calculator app

Body Mass Index Calculator A multiscreen BMI Calculator app Uses UISliders for w

Stock Average Down Calculator
Stock Average Down Calculator

A calculator to figure out what your new average stock price and future value will be on purchasing of a new stock. Most of the custom code can be found in ViewController.swift

A Windows calculator ported to macOS with SwiftUI interface.
A Windows calculator ported to macOS with SwiftUI interface.

Windows Calculator on Apple A Windows calculator ported to macOS with SwiftUI interface. Standard Programmer Build Clone the project: git clone --recu

Owner
Bridger Maxwell
Bridger Maxwell
A hobby project using Swift protocol and Swift 5.7's new generics to build an iOS Calculator-like calculator.

Calculator A hobby project using Swift protocol and Swift 5.7's new generics to build an iOS Calculator-like calculator. Highlights: You can use Calcu

Kyle 4 Oct 24, 2022
Free42 : An HP-42S Calculator Simulator

------------------------------------------------------------------------------- Free42 is a software clone of the Hewlett-Packard 42S calculator. If y

Thomas Okken 211 Dec 14, 2022
A tip calculator for iOS (in Swift) and Android

Round & Split I needed a tip calculator, so I wrote one. I always round my tips, and when I dine out with a friend, I email them reminders that I owe

Lukhnos Liu 48 Jun 25, 2022
SIP calculator calculates the future value of SIP (Systematic Investment Plan) payments.

SIP calculator calculates the future value of SIP (Systematic Investment Plan) payments. This app is available in the AppStore. Learn more here. #Desc

Tirupati Balan 26 Dec 7, 2022
Tippy is a tip calculator application for iOS.

Pre-work - Tippy Tippy is a tip calculator application for iOS. Submitted by: Shoaib Huq Time spent: 5 hours spent in total User Stories The following

Shoaib Huq 0 Nov 24, 2021
Implementation of LondonAppBrewery's BMI Calculator App

BMI Calculator ?? Our Goal The objective of this tutorial is to look at how we can customise Flutter Widgets to achieve our own beautiful user interfa

Marianne Leal 0 Dec 8, 2021
Basic calculator app for iOS devices using Swift3. Created for learning purpose.

iOS Calculator App Basic calculator app for iOS devices using Swift 4 and Xcode 9. Created for learning purpose. How to use Just download source code

Jogendra 15 Dec 28, 2022
A basic discount calculator app Using Swift

DiscountCalcuator This is a basic discount calculator app I created. Have you ever been out shopping and there is a really awesome sale going on? Well

Alex Diaz 1 Dec 11, 2021
iOS calculator app made without storyboard.

Calculator app Standart iOS calculator app written without storyboard - elements placed only by using code. FUN FACT - you can download it and install

Paweł Brzozowski 1 Dec 21, 2021
Tipculator is a tip calculator application for iOS.

Pre-work - Tipculator Tipculator is a tip calculator application for iOS. Submitted by: Jordan Sukhnandan Time spent: Prework-> 3 hours Additional fea

Jordan Sukhnandan 0 Feb 1, 2022