Skip to content
Beatiful and fast smooth line drawing algorithm for iOS - as seen in Foldify.
Branch: master
Clone or download
Latest commit 2ed884b Oct 29, 2018

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:


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

You can’t perform that action at this time.