Last sunday after
Drove to play basketball
On the way
A lady driver, waiting at the traffic light... normal
She cut the long cue of cars and became one of the first cars at the traffic light junction.... normal
Hell... She even signal where she want to turn to....
BUT!!!SHE WAS NOT AT THE RIGHT LANE!
I know they are famous for "their" stupidity driving skills around here... but to cut cue and stop at the traffic light in the opposite lane, That's just freaking absurd...
And the cars in front pass by her like is a normal thing...
I didn't saw that coming... Nearly bang the damn idiot from front, luckily my car is small and agile and avoid "it". ( Yes, now I referring the driver as IT! As she doesn't poses a spec of brain in her hollow covered head!)
Huh... I really "bo rasa" adi... How the hell it was able to pass its driving test, it can not understand the big big white arrow on the road... Now I even doubt she can even see...
Oh well, I just that it get into accidents soon enough so I won't get hit by it..
Monday, June 23, 2008
Saturday, June 21, 2008
Sunday, May 18, 2008
A lil something...
Friday night, my sister show me this video. Oh ya, Please turn up the volume... It's not something to scare you la don't worry.
Labels:
Net
Saturday, May 17, 2008
Saturday, May 3, 2008
TRC3200 MatLab Programming Assignment : Virtual Planar Rotating Extending Robotic arms
function rotextarmf(rot,ext)
x1 = [ 1 1 0 -1 -1];
y1 = [ -1 5 5 5 -1];
x2 = [ .5 .5 0 -.5 -.5];
y2 = [ 0 5 5 5 0 ];
b1 = [x1;y1];
b2 = [x2;y2];
if ext>max(b1)
warning('Extension limit exceeded');
end
%rot = 135;
%ext = 4;
[b1 b2] = stopmotionrotation(rot,b1,b2);
[b1 b2] = stopmotionextenstion(ext,b1,b2);
end
______________________________________________________
function varargout = stopmotionrotation(rot,b1,b2)
step = 1;
if rot<0
step = -step;
end
for i = 0:step:rot-step
pistep = step * pi/180;
b1 = rotation(b1,pistep);
b2 = rotation(b2,pistep);
draw2box(b1,b2);
pause(0.0001)
end
varargout{1} = b1;
varargout{2} = b2;
end
______________________________________________________
function m = rotation(b1,r)
c = cos(r);
s = sin(r);
z = size(b1);
S = z(1,2);
r1 = [ c -s 0 0; s c 0 0; 0 0 1 0; 0 0 0 1];
m = [b1; ones(1,S); ones(1,S)];
m1 = r1 * m;
m = m1(1:2,1:5);
end
______________________________________________________
function draw2box(b1,b2)
clf;hold on;
axis square
grid on
fill(b2(1,:),b2(2,:),'r');
fill(b1(1,:),b1(2,:),'b');
rectangle('Position',[-.5 -.5 1 1],'Curvature',[1 1],'FaceColor','k');
line([-10 10],[0 0], 'LineStyle', ':','Color','k');
line([0 0],[-10 10],'LineStyle', ':','Color','k');
theta = atan(b1(2,3)/b1(1,3));
text(-8, -8, ['\bfDegrees = ',num2str(theta*180/pi),' deg']);
x = b2(1,3) - b1(1,3);
y = b2(2,3) - b1(2,3);
text(-8, -9, ['\bfExtension = ',num2str(sqrt(x^2+y^2)),' unit']);
bx = b2(1,3);by = b2(2,3);
if sign(bx)<0
t1x = bx - 1;
t2x = bx - 1;
else
t1x = bx + 1;
t2x = bx - 1;
end
if sign(by)<0
t1y = by - 1;
t2y = by - 2;
else
t1y = by + 1;
t2y = by + 2;
end
text(t1x, t1y, ['\bf(',num2str(bx),',',num2str(by),')']);
text(t2x, t2y, ['\bfCoordinate:']);
end
______________________________________________________
function varargout = stopmotionextenstion(ext,b1,b2)
step = 0.1;
for i = 0:step:ext-step
b2 = extension(step,b2);
draw2box(b1,b2);
pause(0.0001)
end
varargout{1} = b1;
varargout{2} = b2;
end
______________________________________________________
function m = extension(ext,b1)
theta = atan(b1(2,3)/b1(1,3));
X = ext * cos(theta);
Y = ext * sin(theta);
if b1(1,3)<0
X = -X;
Y = -Y;
end
t = [1 0 0 X; 0 1 0 Y;0 0 1 0 ;0 0 0 1];
s = size(b1);
S = s(1,2);
m0 = [b1; ones(2,S)];
m = translation(m0,t);
end
______________________________________________________
function m = translation(b1,t);
m1 = t * b1;
m = m1(1:2,:);
end
x1 = [ 1 1 0 -1 -1];
y1 = [ -1 5 5 5 -1];
x2 = [ .5 .5 0 -.5 -.5];
y2 = [ 0 5 5 5 0 ];
b1 = [x1;y1];
b2 = [x2;y2];
if ext>max(b1)
warning('Extension limit exceeded');
end
%rot = 135;
%ext = 4;
[b1 b2] = stopmotionrotation(rot,b1,b2);
[b1 b2] = stopmotionextenstion(ext,b1,b2);
end
______________________________________________________
function varargout = stopmotionrotation(rot,b1,b2)
step = 1;
if rot<0
step = -step;
end
for i = 0:step:rot-step
pistep = step * pi/180;
b1 = rotation(b1,pistep);
b2 = rotation(b2,pistep);
draw2box(b1,b2);
pause(0.0001)
end
varargout{1} = b1;
varargout{2} = b2;
end
______________________________________________________
function m = rotation(b1,r)
c = cos(r);
s = sin(r);
z = size(b1);
S = z(1,2);
r1 = [ c -s 0 0; s c 0 0; 0 0 1 0; 0 0 0 1];
m = [b1; ones(1,S); ones(1,S)];
m1 = r1 * m;
m = m1(1:2,1:5);
end
______________________________________________________
function draw2box(b1,b2)
clf;hold on;
axis square
grid on
fill(b2(1,:),b2(2,:),'r');
fill(b1(1,:),b1(2,:),'b');
rectangle('Position',[-.5 -.5 1 1],'Curvature',[1 1],'FaceColor','k');
line([-10 10],[0 0], 'LineStyle', ':','Color','k');
line([0 0],[-10 10],'LineStyle', ':','Color','k');
theta = atan(b1(2,3)/b1(1,3));
text(-8, -8, ['\bfDegrees = ',num2str(theta*180/pi),' deg']);
x = b2(1,3) - b1(1,3);
y = b2(2,3) - b1(2,3);
text(-8, -9, ['\bfExtension = ',num2str(sqrt(x^2+y^2)),' unit']);
bx = b2(1,3);by = b2(2,3);
if sign(bx)<0
t1x = bx - 1;
t2x = bx - 1;
else
t1x = bx + 1;
t2x = bx - 1;
end
if sign(by)<0
t1y = by - 1;
t2y = by - 2;
else
t1y = by + 1;
t2y = by + 2;
end
text(t1x, t1y, ['\bf(',num2str(bx),',',num2str(by),')']);
text(t2x, t2y, ['\bfCoordinate:']);
end
______________________________________________________
function varargout = stopmotionextenstion(ext,b1,b2)
step = 0.1;
for i = 0:step:ext-step
b2 = extension(step,b2);
draw2box(b1,b2);
pause(0.0001)
end
varargout{1} = b1;
varargout{2} = b2;
end
______________________________________________________
function m = extension(ext,b1)
theta = atan(b1(2,3)/b1(1,3));
X = ext * cos(theta);
Y = ext * sin(theta);
if b1(1,3)<0
X = -X;
Y = -Y;
end
t = [1 0 0 X; 0 1 0 Y;0 0 1 0 ;0 0 0 1];
s = size(b1);
S = s(1,2);
m0 = [b1; ones(2,S)];
m = translation(m0,t);
end
______________________________________________________
function m = translation(b1,t);
m1 = t * b1;
m = m1(1:2,:);
end
Labels:
Uni
Thursday, April 10, 2008
Wednesday, April 2, 2008
Notice : Area303 reconstruction.
After almost a year of inactivity, weeds have grown into bushes, trash becoming a hill, and dust grown into dust bunnies. It's time for reorganization.
It's gonna be HOT! More New visual candies! More links! and most of all, more Incredibly Senseless Idiotic Moronic Ludicrous Absurdity!
The sudden increase interest in blogging among my friends reminded be of my abandon property. I totally, really, totally forgot about Area303. Ah well, I'm not those constant blogging type, or those with a lot of interesting stories to tell or funny things to tell type. It's just for fun...
Oh ya that reminds me of my old sites... Yes, sites. Yahoo! got this geocities that allows you to create from scratch, html and all. Kinda' fun to play with that time. Now I just freaking lazy to do it again.
So, plans to reconstruct Area303 have already begun!
Please give suggestions or comments!
I'll have my personal assistant Mr. Bunny here to convince you to do so.





It's gonna be HOT! More New visual candies! More links! and most of all, more Incredibly Senseless Idiotic Moronic Ludicrous Absurdity!
The sudden increase interest in blogging among my friends reminded be of my abandon property. I totally, really, totally forgot about Area303. Ah well, I'm not those constant blogging type, or those with a lot of interesting stories to tell or funny things to tell type. It's just for fun...
Oh ya that reminds me of my old sites... Yes, sites. Yahoo! got this geocities that allows you to create from scratch, html and all. Kinda' fun to play with that time. Now I just freaking lazy to do it again.
- http://www.geocities.com/cmh_Ed303/
- http://geocities.com/snifer303/
- http://geocities.com/harmonic_noise/
So, plans to reconstruct Area303 have already begun!
Please give suggestions or comments!
I'll have my personal assistant Mr. Bunny here to convince you to do so.
Labels:
Net
Subscribe to:
Posts (Atom)



