Bitmap is an object used to work with images defined by pixel data.
You can create images using one of the Bitmap constructors. Images are drawn on the screen or in memory using the DrawImage method of the Graphics object.
The Graphics class provides methods for drawing objects on the display device.
Public b As Bitmap
Public g As Graphics
Public WithEvents TimerAnimation As Timer
Me.TimerAnimation = New Timer
Me.TimerAnimation.Interval = 100 ‘millisec
Me.TimerAnimation.Start()
b = New Bitmap(Me.PictureBoxScene.Width, Me.PictureBoxScene.Height)
g = Graphics.FromImage(b)