Learn programming 11: non-random animation of a circle crossing the screen





The interactive transcript could not be loaded.



Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Aug 7, 2011

[Comments and more videos at funprogramming.org]

Fun programming with Processing, episode 11: we review the ellipse() function, and then animate a circle from the left to the right border of the screen. We use a variable to hold the current position of the circle. For doing random animation we don't need a variable because we don't need to know the last position of the object. But for animating an object moving in one direction, we need to know where we are now to know where we will be next. That's why we store the current position in a variable.

This episode was a bit too long and serious. The next one should be shorter and more fun :)

Comments are disabled for this video.
When autoplay is enabled, a suggested video will automatically play next.

Up next

to add this to Watch Later

Add to

Loading playlists...