- 根据手指滑动速度动态调整线条粗细和透明度
- 对相邻线段进行贝塞尔方法进行绘制
- 多阶贝塞尔曲线方法抽取
- 大批量线段绘制的性能优化
3D Touch 版本- 触摸点的动态忽略算法
- 撤销功能
- 线宽设定更改到UI级别
Weibo: @AfryMask
Github: AfryMask
twitter: @askari01
Objective-C版本
- GitHub: WG-Workspace
Demo图片制作
毛笔画板
可以考虑一下,谢谢
Looking forward to the 3DTouch edition...
你好,AFBrushBoard的Demo让我受益良多,然而能力有限,接触的东西不多,有一些地方我没有弄懂,希望能得到解答:
在AFBrushBoard.swift, Line 105.
let len = Int(sqrt(pow(x1, 2) + pow(x2,2))*10)
谢谢。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.