motion

matrix text style in action script

Hi, I am working in AS3, and I was wondering if anyone knew how to create a matrix effect (the moving green text lines in the movie) in action script. I have found a few examples online, but none of them seem to work. Thanks. ...

How can I reproduce the flick-to-scroll behavior of the iPhone UIScrollView in my own custom view?

I would like to reproduce UIScrollView's flick-to-scroll behavior, but I don't want to use (or can't use) that class. What can I do? ...

OpenGL rotate around a spot

Hi, I'm wanting to rotate a gluSphere around a fixed point in a circular motion, like a planet going around the sun. Would it be best to use glRotatef or glTranslate? Cheers! ...

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...

What is this written in?

I am dealing with an circa 80's era machine controller. A program is being downloaded to the operator's control panel and for the life of me I can't figure out what it is written. The machine is a Cybermation 700A plasma cutting machine and here is a snippet of what being download. Note that this is use to manage the download of cnc f...

PHPMotion - Do I need ffmpeg etc if I just upload in .flv?

My shared host won't let me install ffmpeg and some similar libraries, will it work if I just upload in flv? ...

motionBegan: Not Working

Hi Everyone: I am running into a bit of a problem when I attempt to use (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event in order to capture a shake event. The problem is that the function isn't even running, even when I override canBecomeFirstResponder and set it to return YES. I have seen some other people's posts...

How to distinguish movement accelerations from oscillations and noise in iphone

Hi everybody on stackoverflow. SHORT VERSION :) I need to use (x,y,z) acceleration values related only to the movement of the iPhone. Just to be clear, think an environment like a car. The iPhone's accelerometer is very sensitive. If I log acceleration values with a frequency of 100Hz, there are so many values related to noise, car vib...

motionEnded getting called multiple times

I have a UIViewController subclass that I am trying to have handle the shake event when its view is up. Here are the relevant methods I've implemented: - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; [self becomeFirstResponder]; } - (void)viewDidDisappear:(BOOL)animated { [self resignFirstResponder...

Simple libs for trajectory motion in Flex Builder (mxml, actionscript)

I need a simple rainbow trajectory motion in Flex builder. We have 2 points [(x1, y1); (x2, y2)], we need to animate object from one to another over some simple rainbow trajectory like in this picture in 10 seconds What libs could you suggest for such an operation? ...

continuous loop with divs and jquery

Hi - I'm continuing a previous post, but I thought I'd open a new thread since it takes a different approach and has more actual code. Anyway, I'm trying to get an infinite loop going with divs scrolling through a window (the other post has an image, and the code below works). <html> <head> <meta http-equiv="Content-type" co...

Smoothing flash animation

I've got a MovieClip containing several child clips (images and text). I'm trying to scale this parent clip very slowly - from 102% down to 98% - this works, however the child movie clips are all scaling a bit jerkily - like they're trying to stick to pixels or something. What's the cure for this? The scaling is done by using a motion ...

Adobe Captivate 4 Question

I am doing a Full Motion Recording of my Browser window. The recording lasts about 45 seconds, and I do a couple of different things during that recording. When I go to view the recording I just did in a slide, the screen capture is about 45 seconds, but all the actions that I've done during the recording seem sped up. This is causing m...

Projectile Motion in VB

What I'm trying to do is simulate projectile motion in Visual Basic using Visual Studio. Essentially, something like this but without air resistance or mass. Anyhow, the way I'm doing it is using a PictureBox and drawing the image in (of, say, a circle) every so often with a timer of interval 1 with its x and y properties being variabl...

Calculate initial velocity to move a set distance with inertia

Hello, I want to move something a set distance. However in my system there is inertia/drag/negative accelaration. I'm using a simple calculation like this for it: v = oldV + ((targetV - oldV) * inertia) Applying that over a number of frames makes the movement 'ramp up' or decay, eg: v = 10 + ((0 - 10) * 0.25) = 7.5 // velocity chang...

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...

Shake to open view modally

Hi, I have my 'shake' working fine (using motionEnded), based off of Apple's GLPaint code. When the user shakes the device (running 3.0 and up) I want to open a view controller modally using presentModalViewController. In my appdelegate I have the notification (as per the GLPaint sample code): [[NSNotificationCenter defaultCenter] ad...

How to write little plugin in xcode for Apple Motion?

Hey. I want to write a little plugin in xcode which reads lights position in opened Apple Motion graphic scene. Anybody can tell me where i should start? What project in xcode, what library i need and what should i do to read sth from Apple Motion? Thx! ...

When GPS is not available how to get notified when the phone is in motion?

I would like to detect when the phone is in motion, but not all kind of motion. For example picking up or waving the phone should not trigger. I would like ideally to run a code when the phone/person is in > "walking" state. What options I have? ...

"Streaming" MJPG using python.

I have a webcam that I want to do some image processing on using Python. It's coming through as a Motion-JPEG. I want to try to process the stuff "live," but really what I want to do is this: Open the URL, start data streaming to some buffer... Read x bytes (where x is image size) to an image Process that image Display in result panel...