effect

Blur effect in a view of iOS

∥☆過路亽.° 提交于 2019-12-12 02:48:40
问题 I want to use an UIImagePicker to have a camera preview being displayed. Over this preview I want to place an overlay view with controls. Is it possible to apply any effects to the preview which will be displayed from camera? I particularly need to apply a blur effect to the camera preview. So I want to have a blurred preview from camera and overlay view with controls. If I decide to capture the still image from the camera, I need to have it original without blur effect. So blur effect must

Add Blur Effect to Image on MouseEnter; Remove on MouseLeave

本小妞迷上赌 提交于 2019-12-11 17:38:00
问题 all, I want an image to blur (using the Blur effect) when the mouse hovers over it, and return to normal when the mouse leaves. I'm using WPF 4, XAML, and VB.NET 2010 in a Silverlight-based project. 回答1: The simplest way is to use the VisualStateManager and modify the MouseOverState <VisualStateGroup x:Name="CommonStateGroup"> <VisualState x:Name="MouseOverState"> <Storyboard> <DoubleAnimation From="10" To="0" Duration="00:00:02" Storyboard.TargetName="blurEffect" Storyboard.TargetProperty=

How can create transition effect in font awesome icon

倖福魔咒の 提交于 2019-12-11 10:23:32
问题 I need solution for this problem but it should be dependable in font-awesome icon. please help me. to easy create font awesome icon transition effect when hover on icon 回答1: Fontawesome transitions could be done like any other CSS transition. You just need to set for them what properties will have this transition effect, and also define the "new" values. For example: .fa{ font-size:30px; margin:5px; -webkit-transition: all 0.5s; transition: all 0.5s; } .fa:hover{ font-size: 40px; transform:

Bitmap texture does not show up in framebuffer surface on Android

让人想犯罪 __ 提交于 2019-12-11 09:42:52
问题 I'm trying to use the new EffectFactory/Effect to add effects to images off screen (i.e. framebuffer). I've looked at the HelloEffects.java example provided in the SDK and I've tried it out and it works. Except it obviously uses a GLSurfaceView and that isn't what I want. So I've taken tests/effect/src/android/effect/cts/GLEnv.java to setup the EGL stuff and I've also grabbed TextureRenderer.java and GLToolbox from the HelloEffects example. Mashed them all up and I've got the code below. (On

css3 and jquery load page slider effect

六月ゝ 毕业季﹏ 提交于 2019-12-11 09:11:31
问题 Hi I´m trying to create a full page load slider effect with css3 and jquery. For this I´m using two divs where I load the pages. I have buttons for previous, close and next. I´m having problem with next effect. When I click the next button I load the new page into div 2 at the moment with translateX ('100%'). Then I add translateX ('-100%') to div1(at the moment on screen translateX ('0%')). The effect should be translateX ('-100%') div1, and then translateX('0%') for div2. All translates

Unity Post-processing PostProcessEffectRenderer shows in Editor but not in build

放肆的年华 提交于 2019-12-11 00:58:35
问题 After adding an implementation of a PostProcessEffectRenderer to the Unity post-processing stack the effect works perfectly in the Unity Editor, but does not show in the built game. Changes to build quality have no effect, effect does not show using maximum quality settings, building for Windows x86_64. Grayscale.cs using System; using UnityEngine; using UnityEngine.Rendering.PostProcessing; [Serializable] [PostProcess(typeof(GrayscaleRenderer), PostProcessEvent.AfterStack, "Custom/Grayscale"

How to create a smoke effect in iphone?

偶尔善良 提交于 2019-12-10 12:43:26
问题 i am developing an application where i want to do some smoke effect like animation and interact with that smoke. Do i need to implement it OpenGLES or any simple solution? Is there any sample application for it? 回答1: You could just write a simple particle emitter for that. Is it for a Game ? or for another kind of Application ? It also depends on the level of realism that you're looking for. A guy got down voted for mentioning fluid dynamics, but if you really want realism, that's the best

jquery morphing image effect

此生再无相见时 提交于 2019-12-10 10:17:36
问题 I'm pretty sure this is impossible, but. . . I am trying to get a morphing effect (like on this page in the flash image rotator -> http://www.sikids.com) in jquery. Or at least an effect that is very similar. I saw that jquery UI had some morphing effects, but I haven't been able to find it. This is important to our client, so any effect that is as close as possible would be awesome. 回答1: It's not impossible... but it might be slow. You'll have to use canvas to grab the image data and

jQuery “$(…).effect is not a function”

北战南征 提交于 2019-12-10 01:04:56
问题 I searched through the forum already but I can't find any way to fix the problem I have with the "effect" function in jQuery. I get exactly the error TypeError: $(...).effect is not a function in the code : $('div.step').removeClass('active'); $("div.step").effect('slide', {direction: 'right', mode: 'hide'}, 500); $('#step' + step + '').addClass('active'); $('#step' + step + '').effect('slide', {direction: 'right', mode: 'show'}, 500); I included both jQuery and jQuery UI like this in <head><

Blur show effect - html5 canvas

微笑、不失礼 提交于 2019-12-09 07:03:28
问题 I want to create a blur show effect like : http://www.flasheff.com/patternsshowcase/ (FESBlur). I've tried to use http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html using setInterval and changing the radius of the effect on each "frame", but if I set the interval delay to a lower value(increase the effect's speed), it doesn't runs smooth ( I think it's beacuse it uses imageData, and changes the value of every pixel). Do you have any ideea about how I could make that effect to run