Python Graphics: A Reference for Creating 2D and 3D Images
Bernard Korites
This book will show you how to use Python to create graphic objects for technical illustrations and data visualization.
Often, the function you need to produce the image you want cannot be found in a standard Python library. Knowing how to create your own graphics will free you from the chore of looking for a function that may not exist or be difficult to use. This book will give you the tools to eliminate that process and create and customize your own graphics to satisfy your own unique requirements.
Using basic geometry and trigonometry, you will learn how to create math models of 2D and 3D shapes. Using Python, you will then learn how to project these objects onto the screen of your monitor, translate and rotate them in 2D and 3D, remove hidden lines, add shading, view in perspective, view intersections between surfaces, and display shadows cast from one object onto another.
You will also learn how to visualize and analyze 2D and 3D data sets, fit lines, splines and functions.
The final chapter includes demonstrations from quantum mechanics, astronomy and climate science.
Includes Python programs written in a clear and open style with detailed explanation of the code.
Often, the function you need to produce the image you want cannot be found in a standard Python library. Knowing how to create your own graphics will free you from the chore of looking for a function that may not exist or be difficult to use. This book will give you the tools to eliminate that process and create and customize your own graphics to satisfy your own unique requirements.
Using basic geometry and trigonometry, you will learn how to create math models of 2D and 3D shapes. Using Python, you will then learn how to project these objects onto the screen of your monitor, translate and rotate them in 2D and 3D, remove hidden lines, add shading, view in perspective, view intersections between surfaces, and display shadows cast from one object onto another.
You will also learn how to visualize and analyze 2D and 3D data sets, fit lines, splines and functions.
The final chapter includes demonstrations from quantum mechanics, astronomy and climate science.
Includes Python programs written in a clear and open style with detailed explanation of the code.
年:
2018
出版社:
Apress
语言:
english
页:
380
ISBN 10:
1484296605
ISBN 13:
9781484296608
文件:
EPUB, 11.09 MB
IPFS:
,
english, 2018