Javascript |
||||||||||
Plot math expression in Polar coordinate
this code is created first by chatGPT on Jan 7 2023 (meaning using chatGPT 3.5) and then modified a little bit my me. The initial request that I put into chatGPT is as follows :
NOTE : It is not guaranteed that you would have the same code as I got since chatGPT produce the answers differently depending on the context. And it may produce the different answers everytime you ask even with the exact the same question. NOTE : If you don't have any of your own idea for the request, copy my request and paste it into the chatGPT and put additional requests based on the output for the previous request. I would suggest to create a new thread in the chatGPT and put my request and then continue to add your own request.
NOTE : This code works only when the data file is located on a server because the script is using XMLHttpRequest(); to read the file. It would cause an error if you try to read the data file located on local harddisk.
|
||||||||||