Beatiful and fast smooth line drawing algorithm for iOS - as seen in Foldify.
Switch branches/tags
Nothing to show
Clone or download
Krzysztof Zabłocki
Krzysztof Zabłocki Merge pull request #30 from richardgroves/master
Adding basic support for touch force (3D force an iPad pro stylus)
Latest commit 4471997 Dec 22, 2015

Line Drawing - Beatiful 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:


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


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