smooth

Smoothing Zedgraph linegraphs without 'bumps'

When you use Zedgraph for linegraphs and set IsSmooth to true, the lines are nicely curved instead of having hard corners/angles. While this looks much better for most graphs -in my humble opinion- there is a small catch. The smoothing algorithm makes the line take a little 'dive' or 'bump' before going upwards or downwards. In most c...

Modify Mouse Coordinates via "Control to Display Gain" ratio

Deal all, I made an application in C on Linux OS (ubuntu 8.10) to smooth the mouse movement. My application calculates Control to Display gain, which is used to smmoth the motion of mouse cursor. Is there any Linux API which we can pass this gain to modify the mouse position. As in Windows there is an API as "SetSystemInfo()", which ac...

UISlider smooth update problem

Hi, I have a tableview with 2 labels and 1 slider on each cell. Now, the problem is when I change the value on the slider, I want to update one of the label on respective row. I tried attaching a selector [mySlider addTarget:self action:@selector(sliderAction:) forControlEvents:UIControlEventValueChanged]; and I set [tableView reload...

How can I make my form resize more smoothly?

When resizing a form with many controls, the form looks bad because of flickering. What are some tips to have a smoother form resizing? ...

How to smooth a histogram?

Hi, I want to smooth a histogram. Therefore I tried to smooth the internal matrix of cvHistogram. typedef struct CvHistogram { int type; CvArr* bins; float thresh[CV_MAX_DIM][2]; /* for uniform histograms */ float** thresh2; /* for non-uniform histograms */ CvMatND mat; /* embedded matrix header for array his...

jQuery: Scroll to anchor when calling URL, replace browsers behaviour

Hey there, I already know the jQuery plugin ScrollTo, but I didn't find any way up to now to realize the following: The users gets to my site (by typing, NOT by clicking a link on my page) domain.com/bla.php#foo and the anchor "#foo" exists. Now I want that the browser of the user does NOT automatically scroll to "#foo", instead I wan...

Smoothening the lines of the segmented image

Hello, I have a segmented image as shown. Is there a way to smoothen the lines so that it does not look so wavy? Thanks. ...

Trying to make moving highlighted text type application that highlights text for help with reading pacing.

Programming language: Java Problem: I can make the highlight "snap" from word(s) to word(s), but the best outcome would be the highlight smoothly gliding across a given line and starting on the next line down as it goes out on the right side. Any suggestions? ...

Really smooth animate effects with jQuery

I have some jQuery set up on my page to swap out some DIVs when a user clicks a link. The DIVs have flash objects, paragraphs and images inside them and when I click the link to swap it out the effects aren't exactly... smooth. This is my code: $('#div').toggle('fast'); $('#anotherdiv').toggle('fast'); It kinda gets stuck on the flas...

want to display flash object in smooth box?

hi i want ot display flash content in smooth box right now it totally disabled tags for flash content,no code at that place instead of flash object code. ...

How can I stretch bitmap in WPF without smoothing pixels

Hi, I'm working on SEM image processing application, written in WPF. I have an image display control, derived from Canvas, which displays image & overlays using DrawingVisuals (one for each "layer"). It also implements Zoom & Pan using scale & translate transform, applied on DrawingVisuals. When I zoom in the image to see individual pi...

Flash files are playing laggy /Jerky in screensaver

I have developed a screen saver for MAC OS X. Screen saver plays flash files. Whene I run screen saver on display resolution higher than 1300 X 1000 then flash files play very jerky / laggy. When I run it in low resolution then files play fine.Even flash files are playing fine in desktop application. This problem is more on 10.6 Snow Leo...

Slow motion tween text isn't smooth

Hi! i have to create a movie where a text string move in horizontal. the problem is that in the movie (800px wide) the text should go from right to left in about 7 seconds (so it have to go about 400px to the left in 7 sec). i created a motion-tween with ease for my "text" and the tween is long (at 30fps) 30*7=210 frames. the result i...

Draw a smooth line with finger touch on iPhone

Hello Everyone, How do I draw a smooth line with a finger slide/touch motion on the iPhone? I have the following code but it is not smooth. It makes corners/turns for example when I try to do a circle. I think I have to use OpenGL. Any ideas? sample code? tutorials? Thanks! UIGraphicsBeginImageContext(self.view.frame.size); [draw...

Smooth mousover images inside scaled Flex App?

I have a flex app I am scaling using systemManager.stage.scaleMode=StageScaleMode.NO_BORDER; for the most part it works well except for my bitmap data (mostly png's from the designers). I can set the mx:image tags to smoothBitmapContent=true and that works great for everything except my mouseover objects. When I do a mouseover, the so...

SmoothStreamingMediaElement download progress

I'm using SmoothStreamingMediaElement silverlight component for smooth streaming. How can I get informations about download progress? it seems that DownloadProgressChanged event is not working as expected (It's working fine with MediaElement component) I'm trying to achieve that my playback progress bar is showing buffering progress ...

Storyboard as timer in WPF

Hi, I'm trying to do smooth animation in procedural code. For this (in Silverlight at least), it's recommended to use the Storyboard timer rather than a DispatcherTimer. So I use something like this: Storyboard _LoopTimer = new Storyboard(); public void StartAnimation() { _LoopTimer.Duration = TimeSpan.FromMilliseco...

IIS Smooth Streaming Manifest Bad Request Error

Hi, I installed IIS Media Services 3.0, and the Big Buck Bunny sample, but when I try to get the manifest file (http://localhost/Big_Buck_Bunny/Big Buck Bunny.ism/Manifest), I get 400.0 Bad Request error from the SmoothHandler. So the default.html appears in the browser, but the SL player shows error while trying to read the manifest. An...

Smooth Error in qplot from ggplot2

I have some data that I am trying to plot faceted by its Type with a smooth (Loess, LM, whatever) superimposed. Generation code is below: testFrame <- data.frame(Time=sample(20:60,50,replace=T),Dollars=round(runif(50,0,6)),Type=sample(c("First","Second","Third","Fourth"),50,replace=T,prob=c(.33,.01,.33,.33))) I have no problem either...

If I have multiple forms in one application how can I smoothly transition between them?

If I want to smoothly switch between forms (i.e the sliding transition from Microsoft PowerPoint), how can I do this? I am working with Visual Studios C#. ...