Git Product home page Git Product logo

algebra-tool's Introduction

Algebra Tool

A tool for manipulating algebraic expressions and equations.

screenshot.png

Features

  • works with equations and expressions
  • basic operations: +, -, *, /
  • integers and fractions
  • adjust the amount help it gives the student
  • undo/redo
  • history with descriptions of actions
  • hint system (when running the server locally)

Future

  • powers and roots
  • absolute value
  • trigonometry
  • system of equations
  • vectors and matrices
  • differentiation and integration

Installation

  • npm install
  • npm start (requires node version 4+)
  • in another terminal node api-server.js
  • open http://localhost:3000 in a browser

Live Demo

khan.github.io/algebra-tool

Supported URL Params

  • start: URL encoded expression or equation, default: 2x + 5 = 10
  • end: URL encoded expression or equation, default: x = 5/2
  • eliminateZero: if an evaluate action results in a zero, we will automatically remove it. TODO: handle division by zero
  • eliminateDivByOne: if a cancel operation results in division by one, we will automatically remove it.
  • autoeval: compute the result of an evaluate action instead of asking the user to input the result.
  • hints: enables hint system (only works when running locally)

e.g. localhost:3000/?start=x-1%3D5&end=x%3D6&eliminateZero&eliminateDivByOne&autoeval&hints

Contributing

Please report bugs and feature requests to https://github.com/khan/algebra-tool/issues.

algebra-tool's People

Contributors

kevinbarabash avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

algebra-tool's Issues

don't animate insertion

We want to allow users to start typing immediately after hitting the minus key. If we animate, we end up with the following:
screen shot 2016-03-02 at 12 43 05 pm

don't deselect on mouse up

This happens if the touchend/mouseup event doesn't occur within a glyph within the selection. The solution is to set a flag whenever an event starts a selection and then check for that flat on touchend/mouseup.

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.