Python Graphics: A Reference for Creating 2D and 3D Images
by 作者: B.J. Korites
ISBN-10 书号: 1484233778
ISBN-13 书号: 9781484233771
Edition 版本: 1st ed.
Publisher Finelybook 出版日期: 2018-07-25
Pages: 363
Book Description
Use Python’s built-in features to create innovative graphics for data visualization and technical illustrations. This book goes beyond simple commands and libraries to explain how to not only display but also rotate,shade,and edit graphics for any purpose.
Starting with the essential Python functions to set up a plotting space and produce 2 and 3-dimensional objects,you’ll learn how to construct more complex objects,translate and rotate them,remove hidden lines,introduce shading to add realism,and project images to visualize any dataset. The final chapter includes several worked applications in science and engineering including planetary models,which you can adapt for your own use.
Written for developers who want to harness Python’s capabilities to fine-tune their images,Python Graphics covers the different commands for plotting dots,lines,arrows,or arcs,creating custom plotting grids,correcting distortions,adding text and labels to illustrations,manipulating arcs and circles,specify and use colors,and more. Armed with these techniques and core math skills,you’ll be ready to create and customize detailed technical illustrations or data visualizations.
What You’ll Learn
Use Python′s built-in commands for plotting,removing distortions,and rotating objects
Create and edit 2D and 3D objects
Develop illustrations for scientific and engineering applications
Who this book is for
Python developers looking for tips on how to create illustrations and visualizations,as well as scientists,engineers,or students using Python. It assumes familiarity with vectors,matrices,geometry and trigonometry.
1. Essential Python Commands and Functions
2. Graphics in Two Dimensions
3. Graphics in Three Dimensions
4. Perspective
5. Intersections
6. Hidden Line Removal
7. Shading
8.2D Data Plotting
9.3D Data Plotting
10. Demonstrations
Where to Get Python
Planck' sRadiation Law and the Stefan-Boltzmann Equation