Web/Game/Programming/Life etc.
今天继续阅读 Joe’s Devblog 收获依然很多~
Do you have friends? Well good for you. 多人游戏的魅力
That never happened though, because shortly thereafter, we started playing Little Big Planet with 4 player co-op, and I noticed something very bizarre. Within less than an hour, all social barriers melted away and everyone was having fun and laughing their hearts out. You couldn’t tell that anyone was an outcast to this group had you seen this scene. And so it got me thinking.
最近阅读了很多有趣的文章。独乐乐不如众乐乐,我决定把看到的有意思的东西整理出来。日积月累,或许会有不少收获。大部分文章是英文的,我英文水平一般,只有CET4,我阅读它们只是因为它们真的太有趣了!十分可惜的是,有一部分非常精彩的文章或视频需要翻墙才可以观看,请自便。
这两天翻腾以前收录的博客,又发现了很多干货。Steven Wittens 的博客又更新了,读完他写的 Animate Your Way to Glory 收获非常大。他几乎把他所知道的关于动画计算的一切都娓娓道来。而且非常深入地剖析了欧拉方法、Verlet积分、RK4的原理,他用他的 Mathbox 以交互的形式展示了每一个过程,真是太牛逼了。另外他的两个讲座 Making things with maths 和 Makine WebGL dance 也给了我很大的启发,数学是如此有爱的。
贝塞尔曲线是一种通过点构造曲线的的插值方法,想要绘制一个90度的圆弧,需要精确计算起点和终点以及数个控制点的位置。圆弧这样的特定形状至少还有可靠的表达式来计算,但是想要一此更随意而优美的曲线,就不容易办到了。(Neither is a superset of the other — Bezier curves cannot produce circular arcs and circular arcs cannot produce Bezier curves.——Curved Paths)
好再还有其它的方法可以绘制曲线。一个叫 Chaikin 的人提出了一种通过已知折线段构造曲线的方法 Chaikins-Algorithm,其原理有点像木工打磨家具,把锐利的角磨掉,一次又一次,直到家具看起来圆滑为止。在工业上类似的术语叫倒角(corner cutting)。