GithubHelp home page GithubHelp logo

zs1l3nt / web-vue-graphx Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 126 KB

Graph plotter and visualiser in Vue and Typescript. Just to get the rough idea of the shape of the graph

License: GNU General Public License v3.0

TypeScript 77.71% HTML 6.98% JavaScript 12.77% CSS 2.53%
typescript vue deprecated

web-vue-graphx's Introduction

GraphX

License Languages Top Language Commit Activity Last commit

GraphX is a primitive graph drawing website that can parse simple mathematical equations, then plot the graph for it.
This is an example of the website plotting the graph for y = 2sin(x) - 1
Example

Motivation

I used to use the website Desmos to plot and visualise my graphs. I found it interesting how Desmos can understand my equation and plot a graph out of it, so I wanted to see if I could create my own super simplified version of desmos.

Features

  • Parse Simple Mathematics
    • Addition -
    • Subtraction -
    • Multiplication *
    • Division /
    • Exponential ^
    • Sine sin()
    • Cosine cos()
    • Tangent tan()
  • Solve the Equation
    • Calculates and returns at most 1000 solutions to the graph so that the values can be plotted
  • Custom Ranges
    • Define a custom range for both the X axis and Y axis

Usage

With yarn

$ yarn
$ yarn dev

With npm

$ npm i
$ npm run dev

Testing

Mathematical parser is tested with Jest. To run the tests, run the command

With yarn

$ yarn test

With npm

$ npm run test

Built with

  • TypeScript
    • @types/express
    • @types/jest
    • @types/node
    • typescript
  • Jest
    • @babel/core
    • @babel/preset-env
    • @babel/preset-typescript
    • jest
  • Miscellaneous
    • express
    • validate-any

web-vue-graphx's People

Contributors

zs1l3nt avatar

Watchers

 avatar  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.