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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Thinking like a Bézier path

38 点作者 shravan超过 10 年前

4 条评论

gilgoomesh超过 10 年前
In case you didn&#x27;t realize the coolest part of this post: mouse over the lines of code that draw the béziers. The diagrams showing béziers drawn by the code update as you mouse over each line.<p>A few of the bézier diagrams with visible control points are interactive too.
abmussani超过 10 年前
Few weeks ago, I tried to create a roulette wheel for an iOS application. For ball animation, I used CGPath but couldn&#x27;t make a realistic movement then I changed it to UIBezierPath.<p><a href="https://github.com/abmussani/RouletteWheel-for-IPhone-Ipod" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;abmussani&#x2F;RouletteWheel-for-IPhone-Ipod</a> (Sorry for bad code structure).
Vektorweg超过 10 年前
Note: You can&#x27;t draw <i>rounded</i> corners using Bezier curves. Only an approximation. ;)
评论 #8237170 未加载
评论 #8237144 未加载
_Adam超过 10 年前
Images are cutoff when viewed on mobile!