Smooth & fast line drawing from touch inputs for UIViews using Quartz
Switch branches/tags
Nothing to show
Pull request Compare This branch is 41 commits behind levinunnink:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Smooth Line View.xcodeproj
Smooth Line View


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 for his elegant solution.