对于素描,先介绍算法,一般而言素描的算法如下: 1.图像灰度化 3.对底片进行高斯模糊 4.模糊后的结果与灰度图像进行图像混合,效果为颜色减淡(图像混合,后面我也会写一篇文章讨论下),公式为: C =MIN( A +(A×B)/(255-B),255) 既然知道了算法,现在开始代码: public Image filter() { if(!this.img.gray) this.img.toGr
react 打字机效果 At Overlay, we started 2 years ago building a Sketch Plugin to help designers t export their symbols into prod-ready React/Vue.js components. I write this article to help people creat