From: BC Tan on
Hi All,

Can anyone advise me on how to create a smiley face that will roll across the screen using matlab program?

Tks alot for your advise
From: Jan Simon on
Dear BC Tan!

> Can anyone advise me on how to create a smiley face that will roll across the screen using matlab program?

This is a very general question...
You can do this fairly easy in a Matlab window by drawing the smiley as texture map on a surface and let the camera roll. But if you want to roll the smiley outside a Matlab window ("across the screen"), I have a more funny advice:
Use the installation disk and some paint to construct your smiley. Then pull a thread through the hole and move it in front of the screen.

If you want to let it look more "professional", I'd recommend another programming tool.
And if you've finsihed your work, please don't forget to tell me, if the sophisticated software implementation or my energy efficient, programming and debug time-optimal, hardware base method did impress the audience more!

Good luck, Jan
From: BC Tan on
"Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <hc2dv6$obj$1(a)fred.mathworks.com>...
Hi Jan,

How do i draw the the smiley as texture map on a surface and let the camera roll?

Pls advise. Tks
From: Jan Simon on
Dear BC Tan!

> How do i draw the the smiley as texture map on a surface and let the camera roll?

What have you done so far?
Do you have a smiley as picture? Which format? Do you know how to call IMREAD? Have you searched in the FileExchange, e.g.
http://www.mathworks.com/matlabcentral/fileexchange/21881

Good luck, Jan
From: BC Tan on
Hi Jan,

Yap I had a smiley face save as .gif..

Yap I know IMREAD can read in the picture. However, how do I make the figure move across the figure window in matlab? Can advise as the link give below give no details of animation.

Rgds