Skip to content
毛笔画板
Branch: master
Clone or download
Latest commit f8ba11c Oct 19, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
AFBrushBoardDemo.xcodeproj updated to swift 4.2, bumped up iOS version from 9.2 to current (12) … Oct 15, 2018
AFBrushBoardDemo updated to swift 4.2, bumped up iOS version from 9.2 to current (12) … Oct 15, 2018
.gitignore 2.1 Feb 25, 2016
README.md Update README.md Oct 15, 2018
章.PNG 2.1 Feb 21, 2016
郭.PNG 2.1 Feb 21, 2016
锋.PNG 2.1 Feb 21, 2016

README.md

AFBrushBoardDemo

  • 根据手指滑动速度动态调整线条粗细和透明度
  • 对相邻线段进行贝塞尔方法进行绘制
  • 多阶贝塞尔曲线方法抽取
  • 大批量线段绘制的性能优化

TODO

  • 3D Touch 版本
  • 触摸点的动态忽略算法
  • 撤销功能
  • 线宽设定更改到UI级别

Author

Weibo: @AfryMask

Github: AfryMask

Update

twitter: @askari01

Thanks

Objective-C版本

Demo图片制作

You can’t perform that action at this time.