寻找优秀的 JavaScript 物理/数学/算法学习资源
我已经使用 JavaScript 和 Canvas 一段时间了。 很多时候,当我剖析人们放在网络上的代码时,如果代码注释很差,那么真的很难理解代码背后的逻辑和算法。
我想将物理和数学应用到我的代码中。 有什么好的文章、资源中心或书籍可以让我了解更多相关知识吗?
我知道很少有好的物理库,例如 Box2D。不过我希望学习基础知识而不是盲目使用图书馆。
I have been playing around with JavaScript and Canvas for a while.
Very often when I dissect a code people have put on the web, it is really hard to understand the logic and algorithm behind the code if the code is poorly commented.
I would like to apply physics and maths to my code.
Are there any good articles, resources hub or books I could learn more about it?
I am aware of few good physics library out there such as Box2D. However I am hoping to learn the basics rather than using the library blindly.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Keith Peters 和 Billy Lamberta 所著的《Foundation HTML5 Animation with JavaScript》是一本非常好的书。我刚刚开始读它。到目前为止,一切都很棒。它涵盖了许多公式并对此进行了深入的解释。 http://www.amazon.com/Foundation-HTML5-Animation-JavaScript-Lamberta/ dp/1430236655
您可以在 Google 图书上进行相当全面的阅读。
<一href="http://books.google.co.nz/books?id=KZTIFYMLShYC&printsec=frontcover&dq=foundation+html5+animation+with+javascript&hl=en&sa=X&ei=XZhiT7q3L8eaiAfh0_DfBQ&redir_esc =y#v=onepage&q&f=false" rel="nofollow noreferrer">http://books.google.co.nz/books?id=KZTIFYMLShYC&printsec=frontcover&dq=foundation+html5+animati on+with+javascript&hl=en&sa=X&ei=XZhiT7q3L8eaiAfh0_DfBQ&redir_esc=y#v=onepage&q&f=false
Foundation HTML5 Animation with JavaScript by Keith Peters and Billy Lamberta is a really good book. I just started reading it. So far it is great. It covers many formulas and in-depth explanation on that. http://www.amazon.com/Foundation-HTML5-Animation-JavaScript-Lamberta/dp/1430236655
You could have a pretty thorough read on Google Books.
http://books.google.co.nz/books?id=KZTIFYMLShYC&printsec=frontcover&dq=foundation+html5+animation+with+javascript&hl=en&sa=X&ei=XZhiT7q3L8eaiAfh0_DfBQ&redir_esc=y#v=onepage&q&f=false
经过一些研究,我认为处理社区在涉及物理和数学的高级动画方面拥有非常好的学习资源。
查看有关矢量的教程。
http://processing.org/learning/pvector/
它非常有用且易于阅读。
绝对推荐大家留意(即将发布)Daniel Shiffman 所著的《代码本质》一书 - http://natureofcode.com/ 看起来很有希望
。
After some research, I think the Processing community has very good learning resources when it comes to advanced animation with physics and maths.
Check out this tutorial on vector.
http://processing.org/learning/pvector/
It is really useful and easy to read.
Definitely recommend everyone to look out for (soon to be released) The Nature of Code book by Daniel Shiffman - http://natureofcode.com/
Looks promising.