Computer graphics comprises the creation and representation of simple graphical elements and images as well as modern techniques for virtual reality. In order to apply computer graphics techniques correctly, a basic understanding of the fundamental concepts is required. This book provides an introduction to the most important basic concepts coupling the technical background and theory immediately with practical examples and applications. The reader can follow up the theory and then literally see the theory at work in numerous example programs. With only elementary knowledge of the programming language Java, the reader will be able to create his or her own images and animations immediately using Java 2D and Java 3D. Written for second year undergraduate and above students, this book will be an essential tool for those studying computer science and computer engineering. A website for this book includes programs with source code, exercises with solutions and slides as teaching material.