TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Understanding Quadratic Bézier Curves

72 点作者 antoineleclair超过 13 年前

6 条评论

jacobolus超过 13 年前
Jason Davies's version using D3:<p><a href="http://www.jasondavies.com/animated-bezier/" rel="nofollow">http://www.jasondavies.com/animated-bezier/</a><p><a href="http://www.jasondavies.com/animated-bezier/animated-bezier.js" rel="nofollow">http://www.jasondavies.com/animated-bezier/animated-bezier.j...</a>
评论 #2932767 未加载
palish超过 13 年前
Interesting... It looks like the speed of the dot isn't constant. I wonder if that would cause problems e.g. for animation purposes? (Like using the bezier curve as a way to animate the position of an object moving through 3D space in a game / in movie production...)
评论 #2932904 未加载
评论 #2932729 未加载
baddox超过 13 年前
They're just gifs, but wikipedia has some interesting animations.<p><a href="http://en.wikipedia.org/wiki/Bezier_curve#Constructing_B.C3.A9zier_curves" rel="nofollow">http://en.wikipedia.org/wiki/Bezier_curve#Constructing_B.C3....</a>
CountHackulus超过 13 年前
Or written another way, it's a weighted average of weighted averages.
ontouchstart超过 13 年前
I did a few exercises with SVG in pure CoffeeScript (no external library)<p>Draggable Cubic Bézier curve: <a href="http://ontouchstart.posterous.com/explore-svg-with-coffeescript-jsfiddle-9-drag" rel="nofollow">http://ontouchstart.posterous.com/explore-svg-with-coffeescr...</a><p>Cubic Bézier timing function CSS: <a href="http://ontouchstart.posterous.com/explore-svg-with-coffeescript-jsfiddle-11-dra" rel="nofollow">http://ontouchstart.posterous.com/explore-svg-with-coffeescr...</a>
tripzilch超过 13 年前
that was very clear and concise, thanks!