The 3D Lines example shows how to render to drawable images and then draw them across the screen when you press the “Fire” button.