Python Graphics: A Reference for Creating 2D and 3D Images : A Reference for Creating 2D and 3D Images
معرفی کتاب «Python Graphics: A Reference for Creating 2D and 3D Images : A Reference for Creating 2D and 3D Images» نوشتهٔ Pavneet singh و Bernard Korites، منتشرشده توسط نشر Apress Apress در سال 2023. این کتاب در فرمت epub، زبان انگلیسی ارائه شده است.
This book shows how to use Python’s built-in graphics primitives - points, lines, and arrows – to create complex graphics for the visualization of two- and three-dimensional objects, data sets, and technical illustrations. This updated edition provides more detailed explanations where required, especially regarding Python code, and explores scientific applications to topics of contemporary importance. You’ll learn how to create any 2D or 3D object or illustration, as well as how to display images, use color, translate, rotate, shade, add shadows that are cast on other objects, remove hidden lines, plot 2D and 3D data, fit lines and curves to data sets, display points of intersection between 2D and 3D objects, and create digital art. Demonstrations are included which illustrate graphics programming techniques by example, the best way to learn a language. Also brand new to this edition are demonstrations on how to visualize electron probability clouds around a nucleus, climate change, ecological diversity, population dynamics, and resource management. Python source code, including detailed explanations, is included for all applications, making the book more accessible to novice Python programmers. After completing this book, you will be able to create compelling graphic images without being limited to functions available in existing Python libraries. What You Will Learn: Create 2D and 3D graphic images Add text and symbols to images Shade 3D objects Display cast shadows Use color for maximum effect View 2D and 3D data sets Fit lines and curves to data sets Who This Book Is For: Python developers, scientists, engineers, and students who use Python to produce technical illustrations and display and analyze data sets. Assumes familiarity with vectors, matrices, geometry and trigonometry. 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. Cover Front Matter 1. Python Essential 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. Demonstration Saturn 11. Electrons, Photons and Hydrogen 12. Demonstration: The Sun 13. Climate Change 14. Population Dynamics 15. Resource Management 16. Ecological Diversity and Butterflies Back Matter
دانلود کتاب Python Graphics: A Reference for Creating 2D and 3D Images : A Reference for Creating 2D and 3D Images