iwantlogic / js-graph

Simple mathemetical graphs using javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TL;DR Description

A simple javascript grapher. With variables x and y but i dont reccomend you to do something like x**(2)+y

WARNING: DO NOT USE IN WEBSITES. VULNERABLE

This is a vulnerable program, DO NOT USE FOR ONLINE WEBSITES

it has the javascript eval() vulnerability, Heres a example

// input="//"
input=process.argv[1]
a = eval(input) // a=// (ERROR!) 
console.log(a)

i am currently working on the branch plain_node fixing this.

You can contribute to me so we can fix this vulnerability together!

Description

You have x and y to work with. The y= is already added at the start no need to add it;

Example:

x*Math.sin(x)

MathSinXTimesX

About

Simple mathemetical graphs using javascript


Languages

Language:JavaScript 45.8%Language:HTML 42.7%Language:Shell 11.5%