marlon360 / xr-graph

📈🥽 View mathematical function graphs in Virtual Reality and Augmented Reality.
https://xr-graph.now.sh
MIT License
145 stars 24 forks source link

Problems with rendering of poles #7

Open marlon360 opened 4 years ago

marlon360 commented 4 years ago

Functions with a pole are not rendered correctly. Like: https://xr-graph.now.sh/?function=(pow(2,x)+3)/(pow(2,x+y)-9)&xMin=0&xMax=10&yMin=0&yMax=10

ToDo: Check in shader after math operation, if result is a number and not infinite.

marlon360 commented 4 years ago

Correct rendering with Google: https://www.google.com/search?q=(2^x%2B3)%2F(2^(x%2By)-9)

marlon360 commented 4 years ago

Bildschirmfoto 2020-03-01 um 22 06 26