https://github.com/krzysztofzablocki/linedrawing
Beatiful and fast smooth line drawing algorithm for iOS - as seen in Foldify.
https://github.com/krzysztofzablocki/linedrawing
Last synced: 6 months ago
JSON representation
Beatiful and fast smooth line drawing algorithm for iOS - as seen in Foldify.
- Host: GitHub
- URL: https://github.com/krzysztofzablocki/linedrawing
- Owner: krzysztofzablocki
- License: other
- Created: 2012-04-23T11:52:36.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2022-07-19T10:36:02.000Z (over 3 years ago)
- Last Synced: 2025-05-13T19:26:38.390Z (6 months ago)
- Language: Objective-C
- Homepage: http://twitter.com/merowing_
- Size: 1.58 MB
- Stars: 1,289
- Watchers: 58
- Forks: 211
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README

Line Drawing - Beautiful and fast smooth line drawing algorithm
--------------
When I was creating my app called [Foldify](http://foldifyapp.com), 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)](https://www.fiftythree.com/paper) 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](http://twitter.com/merowing_)
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