Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/levinunnink/Smooth-Line-View

Smooth & fast line drawing from touch inputs for UIViews using Quartz
https://github.com/levinunnink/Smooth-Line-View

Last synced: about 1 month ago
JSON representation

Smooth & fast line drawing from touch inputs for UIViews using Quartz

Awesome Lists containing this project

README

        

Smooth line UIView
====================

The goal of this project is to create a UIView that can generate smooth lines from touch input in a reasonably fast manner without moving to a more complex framework like OpenGL.

*Update:* Completely re-written smooth line algorithm to use native CGContext quadratic curves. The result is much faster and smoother drawing. There's no more need for switching between agorithms.

Many thanks to [Ginamin](http://stackoverflow.com/users/431480/ginamin) for his elegant solution.

The Smooth Line View code is licensed under the MIT License: [http://opensource.org/licenses/MIT](http://opensource.org/licenses/MIT)