I have to admit that what dragon said is pretty true when you look at it so here is a less flashy version:
http://jupiter.walagata.com/w/mectronno1/ComputerForum2.swf
Here is a smoother version of it (higher frame rate and the effect is done a bit differently):
http://jupiter.walagata.com/w/mectronno1/ComputerForum3.swf
It is not on a webpage so it will take up the entire browser but because it is all vector so it can be scaled however you want.
Flash is a bit hard to get started in but once you understand the syntax it becomes easy to make anything provided you know some math.
This was just some hit checking to detect how close the mouse is to the dot than changing the position randomly based on the information.
onClipEvent (load) {
x_pos = this._x;
y_pos = this._y;
}
onClipEvent (enterFrame) {
this._x = x_pos;
this._y = y_pos;
if (x_pos<(_root.mouse._x+10)) {
if (x_pos>(_root.mouse._x-10)) {
if (y_pos<(_root.mouse._y+10)) {
if (y_pos>(_root.mouse._y-10)) {
this._x = x_pos-1+(random(20)/10);
this._y = y_pos-1+(random(20)/10);
}
}
}
}
if (x_pos<(_root.mouse._x+6)) {
if (x_pos>(_root.mouse._x-6)) {
if (y_pos<(_root.mouse._y+6)) {
if (y_pos>(_root.mouse._y-6)) {
this._x = x_pos-2+(random(20)/5);
this._y = y_pos-2+(random(20)/5);
}
}
}
}
if (x_pos<(_root.mouse._x+3)) {
if (x_pos>(_root.mouse._x-3)) {
if (y_pos<(_root.mouse._y+3)) {
if (y_pos>(_root.mouse._y-3)) {
this._x = x_pos-5+(random(20)/2);
this._y = y_pos-5+(random(20)/2);
}
}
}
}
}
Lol it dosent like tabs so the code looks a bit odd but thats ok.
It looks complex but it is pretty easy if you read it.
Btw, what are the color values for the gradient. I know mine are a bit too bright. If you could give them to me in hexadecimal it would be nice but RGB is fine too.