This is a screen capture of outlineDEMO running in iPhone simulator. The demo uses custom functions that calculate the outline of a path and create a smoothed version of a path using bezier curves. The width of the outline and the tension of the control points of the bezier curves can be altered. A slider alters the tention of the control points. Using Core Animation, the width of the outline and the rotation of one of the paths is animated. The outline for the third path is rendered as the shadowpath of a CAlayer . source code: github.com |
From:
Petrakeas
Views:
0
0
ratings | |
Time: 00:39 | More in Science & Technology |
Bezier curves and outline calculation of paths, iOS demo
Subscribe to Applenews247.Com Newsletter