Skip to content
项目

关于

适用于 iOS 的快速流畅线条绘制算法——Foldify 中使用的算法。

创作与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
-3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Line Drawing - Beautiful and fast smooth line drawing algorithm

When I was creating my app called Foldify, I needed a good quality drawing algorithm, there was a lack of proper end-to-end solution on the network.

Because of that gap in the knowdlege I've researched and implemented my own algorithm, using OpenGL to create anti-aliased lines at low cost, it also features speed based width similar to Paper (by FiftyThree) app.

You can read tutorial explaining all the steps neccesary for creating this algorithm at my blog: http://www.merowing.info/2012/04/drawing-smooth-lines-with-cocos2d-ios-inspired-by-paper/

License

MIT. Use it for anything you want, just attribute my work. Let me know if you do use it somewhere, I'd love to hear about it :)

Enjoy && Share other crazy stuff. Let me know if you used

Follow me on twitter

Building

This project now uses Cocos2d as a submodule. Cocos2d itself uses submodules now as well. Do not forget to git submodule update --init --recursive

探索相关项目

加载中…