Skip to main content
Apress
Book cover

Python Graphics

A Reference for Creating 2D and 3D Images

  • Book
  • © 2018

Overview

  • Goes beyond basic Python commands to create, edit, and customize 2D or 3D graphics
  • Shows how to create data visualizations or technical illustrations with built-in Python features
  • Includes examples of science and engineering applications

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (12 chapters)

Keywords

About this book

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.


What You Will Learn
  • How to create math and Python models of 2D and 3D shapes.
  • How to rotate, view in perspective, shade, remove hidden lines, display projected shadows, and more.
  • How to analyze and display data sets as curves and surfaces, fit lines and functions.



Who This Book Is For
Python developers, scientists, engineers, and students using Python to produce technical illustrations, display and analyze data sets. Assumes familiarity with vectors, matrices, geometry and trigonometry.

Authors and Affiliations

  • Duxbury, USA

    B.J. Korites

About the author

​Dr. Bernard J. Korites has been involved in engineering and scientific applications of computers for his entire career. He has been an educator, consultant, and author of more than ten books on geometric modelling, computer graphics, artificial intelligence, simulation of physical processes, structural analysis and the application of computers in science and engineering. 

He has been employed by Northrop Aviation, the Woods Hole Oceanographic Institute, Arthur D. Little, Itek and Worcester Polytech. He has consulted for Stone and Webster Engineering, Gould Inc, Wyman Gordon, CTI Cryogenics, the US Navy, Aberdeen Proving Grounds, and others. Early in his career he developed software to find physical interference between systems of solid objects and draw 3-dimensional and stereographic views. This found wide application in the design of power plants, submarines and other systems with densely packed spaces. 

Bibliographic Information

Publish with us