blur

Direct3d/C# - Blur area under a rectangle drawn on a sprite

Any idea how to do it? I am drawing a rectangle that is supposed to be a half-transparent window. I managed to do the transparency by drawing a half-transparent texture, but I also want to blur whatever is under the window. Normally (eg. using GDI) I would create a bitmap of the area, blur it and paint it as the background of my window...

Stopping the jQuery blur event within the blur function.

I have a textbox that I am using the blur event to validate the text with a regular expression. If it fails I want the textbox to keep the focus. I know in regular javascript you can say return functionName(); in the onblur event within the actual html control. Is there a way to do something similar when binding the blur event within the...

onlick on link display only div, make other body balck or shaded

I have a page which has anchor tag clicking on which ma div tag toggles. I want to make whole body of page black or shaded except that Div tag. ...

Create Aperture / depth of field affect

How can I create a function that will replicate the affects of different aperture settings. I want the user to be able to click on different 'focal points' of their picture and see how the aperture/depth of field would change depending on which focal point is in focus. Also I was curious if anyone knows how to create a slider bar that ...

Flash CS4 create aperture blurring affect from different focal points

Using Flash CS4 how can I create a function that will replicate the affects of different aperture settings on a camera. I want the user to be able to click on different 'focal points' of their picture and see how the aperture/depth of field would change depending on which focal point is in focus. In essence I want the blurring affect to...

Blur Effect - Flash CS4 (Replicate aperture settings)

Using Flash CS4 how can I create a function that will replicate the affects of different aperture settings on a camera. I want the user to be able to click on different 'focal points' of their picture and see how the aperture/depth of field would change depending on which focal point is in focus. In essence I want the blurring affect to ...

Gradient affects of a function - Flash CS4

I want to apply a blur filter to an image in Flash CS4. I understand how to apply the filer but is there a way to apply it in differing amounts to different parts of the image? I.E. I want to have the edges very blurry while I want the center to stay relatively sharp (apply the blur filter as if it were a gradient coming from the cent...

How to create simple blur filter with HLSL (for Silverlight)?

How to create simple Gaussian Blur filter with HLSL (for Silverlight)? Why - I want to create some complex filter for Silverlight and I do not want to apply blur filter and mine separately. What do I need? I need HLSL filter source. ...

How do I gaussian blur an image without using any in-built gaussian functions?

I want to blur my image using the native gaussian blur formula. I read this, but I am not sure how to implement this. How do I use the formula to decide weights? [I mentioned MATLAB because I do not want to use any built in fuctions that it has] ...

Action Script3 / Pixel Bender Compound Blur effect ?

I need Action Script3 / Pixel Bender blur filter with mapping capability’s. We have such image, we want to apply such blur map to get such result Its also known as Compound Blur effect. Has anyone seen it done with AS3/ Pixel Bender? Does Anyone know where to download such effect with source? ...

Validating radiobuttons with an "other" textbox item

I have a HTML form with a couple of radio buttons. The first few are normal radios, but the last one is associated with a text box. I'd like to run some JavaScript validation to warn users when they select "other" without providing a value using the text box. Functional HTML + JS is linked below, but the rough outline of the HTML is: <...

jQuery blur with an exception

I have set a focus event on an input element. When there is a focus, jQuery searches for a div and displays it. That works. Wit the blur event on the same input element I make the div hide, which also works. But when I click on a link or want to select text in the shown div, it immediately disappears because of the blur event. How can i ...

jQuery Checkboxes in Safari

Hi Guys, I am trying to add a class when a checkbox is "checked" in Safari and remove it when it is unchecked [in other browsers I am using.bind("focus", function() { but in Safari it doesnt work?] I am currently using jQuery('.top_class input').bind("focus", function(){ jQuery(this).parents('.row').addClass("add_over"); }) ...

Detecting lost window focus in Google Chrome

I need to know via javascript whether a page has focus or not. When the user switches to another tab, minimizes the browser, or clicks outside the browser, the page shouldn't have focus. When the user returns to the window, by opening it, returning to the tab, clicking on the page, the page needs to have focus. The problem is the meth...

Gaussian Blur onHover Using jQuery

Hi Everyone: I am wondering if there is some way to apply a gaussian blur onto a div using jQuery (or CSS that jQuery can modify). I have looked into blur(), but at least with Safari, it doesn't seem that it accomplishes what I'm looking for. If possible, I want to use fadeIn on the effect, so it blurs gradually. Thanks for any help!...

Android draw with blur

Hi, I need do draw on Android's Canvas using Blur effect, it is a very simple feature, I need to draw a circular area, which is blurred (the foreground) and the background transparent, I can do everything with manipulating the colour alpha to do it with custom transparency but I need it to be blurred instead of transparent.. any ideas...

android transparent blur

Hi, I need to make an activity that will draw on the home screen, actually I simulate that part by making the background transparent to make that effect, but the problem is that I need to blur a geometric area around the touch coordinates, id needs to be a blurry circle with normal text over the blur, I know how to make what I need with...

Ext.getBody().focus() not working in IE6

Ext.getBody().focus() does not appear to be working correctly in IE6. When a user navigates to a new ExtJS tab, I need to ensure he can no longer type into a CKEditor instance (hidden after navigating to a new tab) in which he might have been typing. The following code works in FF, but not IE6. for( var instanceName in CKEDITOR.instan...

clicking on a div's scroll bar fires the blur event in I.E.

Hi, I have a div that acts like a drop-down. so it pops-up when you click a button and it allows you to scroll through this big list. So the div has a vertical scroll bar. The div is supposed to disappear if you click outside of the div, i.e. on blur. the problem is that when the user clicks on the div's scrollbar, IE wrongly fires ...

Fast Bitamp Blur For Android SDK

Currently in an Android application that I'm developing I'm looping through the pixels of an image to blur it. This takes about 30 seconds on a 640x480 image. While browsing apps in the Android Market I came across one that includes a blur feature and their blur is very fast (like 5 seconds) so they must be using a different method o...