Everyone has a first crush...
Sometimes its the next door neighborer's cute daughter at other times it is some famous singer or actress. Geek or not one thing that happens when you see your crush pass by is that your heart goes...
The function plot looks like this:
For those who have access to Matlab check out the function for yourself:
- % My Heart Goes Animation
- % (c)-aptnk.in
- function frames = myHeartGoes
- % Define number of frames
- nr_fr = 12;
- % Initialize matrix using 'moviein'
- frames = moviein(nr_fr);
- % Generate frames with easy plotting function.
- for i  = 1 : nr_fr
- title ('My Heart Goes...')
- % Get every frame with 'getframe' and load the appropriate matrix.
- frames(:, i ) = getframe;