Plot any equation with a few lines of JavaScript

栏目: IT技术 · 发布时间: 4年前

内容简介:Plot equations using JavaScript canvas

plot

Plot equations using JavaScript canvas

Plot any equation with a few lines of JavaScript

Live version

About

I've made this a while ago cause I was struggling with a math class and feeling really dumb, so I made this to make myself feel better. Few lines of code and I was able to plot any equation.

ToDo

I'm proprably never coming back to this project, since there's so many other great tools out there for this very purpose, but if anyone wants to exercise they programming skills, here's what you can add to this project:

  • Pan mode
  • Zoom
  • Plot more than one equation (different colors)
  • Export the graph

以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

ECMAScript6入门

ECMAScript6入门

阮一峰 / 电子工业出版社 / 2014-8 / 49.00元

《ECMAScript6入门》全面介绍了ECMAScript6新引入的语法特性,覆盖了ECMAScript6与ECMAScript5的所有不同之处,对涉及的语法知识给予了详细介绍,并给出了大量简洁易懂的示例代码。 《ECMAScript6入门》为中级难度,适合已有一定JavaScript语言基础的读者,用来了解这门语言的最新发展;也可当作参考手册,查寻新增的语法点。一起来看看 《ECMAScript6入门》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

SHA 加密
SHA 加密

SHA 加密工具