Explore

Advertise

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Ad

Remove Ads

[>] GraphingBot

[>] GraphingBot

4.86

686

Invite

Vote (2)

This is a Basic Graphing Bot and is a showcase of Denzven-Graphing-Api to plot flat,polar and 3-dimensional graphs using the input formula


Denzven-Graphing-Api-Bot

Welcome! this is an Example Bot made for showcasing the abilties of Denzven-Graphing-Api

1. About the Api:

Denzven-Graphing-Api is my first flask project that plots graphs of formulas/Equations using python. i have also made and Api-Wrapper (mostly for practice) to make life easy and to use this Api.


2. How to Use the Api?

Using the Api is as simple as sending a request to the website with some params such as the fourmula ,grid ,plot_stylee ,x_coord ,y_coord (and more params coming..) and the Api will return an image of the plotted Graph.

Example of a requested url:

http://denzven.pythonanywhere.com/DenzGraphingApi/v1/flat_graph/test/plot?formula=x%2By&x%2By&grid=1&plot_style=3&x_coord=20&y_coord=20

Graph Example in Discord

Note:

  • Base url:
    • http://denzven.pythonanywhere.com/DenzGraphingApi/v1/flat_graph/test/plot
  • the formula:
    • ?formula=x%2By&x%2By

      Note that this url is “urlencoded” using urllib.

    • what can the formula contain?
      • trignometric functions:

        sin() cos() tan()

      • powers

        x**2 = x²

      • Basic BODMAS

        ()=Brackets,
        /=Divide,
        *=Mutiply,
        +=Add,
        -=Subtract

      • Misc:

        pi=value of the const pi,
        sqrt()=square root of the value,
        %=modulos gives the remaider of the divsion

        • eg: 2%6=0 and 2%(10)=0
  • the params:
    • &grid=1

      grid refers to the presence of smaller grid lines, 1 is true and 0 is false

    • &plot_style=3

      these are a list of the default plot_styles it can range from 0-25

    • &x_coord=20

      the value ot the x coordinate (horizontal)

    • &y_coord=20

      the value ot the y coordinate (vertical)


3. Limitations of the Api

The api has several limitations in its use now, and is slowly getting patched/fixed.

Some Known ones:

  • limitations in the formula usage: the formula must equate to zero.
    like “x+y” as input will mean the graph of “x+y=0” and it must contain bot x and y in the equation.

I dont know of any other feel free to add them in!


4. Contributing to the Api (if you want to add changes/neaten up the code)

  • Fork the repository
  • Clone your fork: git clone https://github.com/denzven/Denzven-Graphing-Api-Bot.git
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request

5. Known Bugs and Issue reporting

  • there was a bug by putting exit() or quit() in the formula that would turn off the api.. i have tried my best to patch it

I dont know of any other feel free to add them in!

6. About Me

I am a 17 year old wierdo that hops on with tons of hobbies and gets bored easily. Tried out a bunch of stuff like blender3D, voxel art, making discord bots and telegram bots, basic python programs, right now i am making an Graphing API and its wrapper. you can find more info about me here

Thank you! Hope You can tribute much needed support and enjoy using the api as much i did making it 😁

Ratings & Reviews


4.86

7 reviews

Reviews can be left only by registered users. All reviews are moderated by Top.gg moderators. Please make sure to check our guidelines before posting.

5 stars

6

4 stars

1

3 stars

0

2 stars

0

1 star

0


Wox
Wox

over 3 years ago

best bot

3


Nirlep_5252_
Nirlep_5252_

over 3 years ago

Very epik bot, and amazing graph API!

3


brixk
brixk

over 3 years ago

best the very epic graph help school yes very nice

3




Diablo Laggo
Diablo Laggo

over 3 years ago

pretty cool bot... i understood what Conics were after using this bot 🤣

3


sudowhoami
sudowhoami

about 3 years ago

It's an AMAZING graphing bot. easy to use, must try...

2


Details

Prefix

>

Server Count

686

Support Server

GraphingBot support server

GraphingBot support server

0

95

Socials

denzven.pythonanywhere.com

Discord Support Server

GitHub

Tags

    Calculator

    Education

    Fun

    graphs

    Math

    nerd

    programming

    Study

Creators

Denzven

Denzven