use a game programming tool..like xna or allegro or ... (opengl :( )
i assume it will be a pain in the butt to do it with command line