随着苹果WWC大会退出了MAC最新版的10.11.5,LZ安奈不住一颗“极客”的心情,在第一时间用VMWARE虚拟机装上了。然后各种卡顿这里分享一下优化mac虚拟机的心得。 1 从Dock上移除Dashboard 每次点到这个必然卡机,毛玻璃效果虚拟显卡可吃不消,果断移出Dock。 2 禁用各种华而 ...
分类:
系统相关 时间:
2016-06-30 14:29:21
阅读次数:
383
先看效果: 效果主要用css3的滤镜属性实现,代码如下: 未测试兼容性,有兴趣的朋友可以测试看看该效果的浏览器兼容性,用于弹窗时效果还是感觉不错的。 ...
分类:
Web程序 时间:
2016-06-20 18:48:00
阅读次数:
342
1、原理:先创建一张img图片,用filter滤镜制作毛玻璃效果。 2、利用绝对定位,使canvas刚好盖在img上面。 3、利用canvas原生clip函数剪辑一个圆形。 地址:http://sandbox.runjs.cn/show/c3mlltak 源代码: ...
分类:
微信 时间:
2016-06-20 14:06:35
阅读次数:
329
概述 IPAD,IPHONE上首页背景的模糊效果是不是很好看,那么在 Android中如何实现呢。我通过一种方式实现了这样的效果。 开源库名称:anroid-image-blur 一个android 下的对图片进行模糊的辅助类库 Github地址 https://github.com/vir56k/ ...
分类:
移动开发 时间:
2016-06-17 19:36:34
阅读次数:
234
Qt5增加了许多特性,其中 Qt Windows Extras 模块就增加了对Win7 Aero 效果的支持。官网的介绍如下: Qt Windows Extras provide classes and functions that enable you to use miscellaneous W ...
iOS View 模糊效果(毛玻璃) 相关资料 http://stackoverflow.com/questions/18404907/using-gpuimage-to-recreate-ios-7-glass-effect http://stackoverflow.com/questions/1 ...
分类:
移动开发 时间:
2016-05-31 19:03:14
阅读次数:
232
在xib拖拽控件的界面给view添加背景 UIImageView *imageView = [[UIImageView alloc]initWithFrame:self.view.bounds]; imageView.image = [UIImage imageNamed:@"51670.jpg"] ...
分类:
其他好文 时间:
2016-05-31 15:40:43
阅读次数:
136
Android 毛玻璃效果,主要找到了3中实现方案,
1、如果系统的api在16以上,可以使用系统提供的方法直接处理图片
if (Build.VERSION.SDK_INT > 16) {
Bitmap bitmap = sentBitmap.copy(sentBitmap.getConfig(), true);
final RenderScript rs = RenderScript....
分类:
移动开发 时间:
2016-05-31 09:05:16
阅读次数:
216
在手机里面经常可以看到模糊效果,比如说控制中心。 那么这种效果怎么去实现的呢,一般有一下几种办法。 1.CoreImage 2.vImage(UIImageView+Effective) 3.GPUImage 4.UIVisualEfftiveView 下面来说说这几种方法的使用方法: 一、Core ...
分类:
移动开发 时间:
2016-05-28 12:54:53
阅读次数:
648