Python 2.6 Graphics Cookbook

Mike Ohlson de Fine

  • 出版商: Packt Publishing
  • 出版日期: 2010-11-28
  • 售價: $1,970
  • 貴賓價: 9.5$1,872
  • 語言: 英文
  • 頁數: 260
  • 裝訂: Paperback
  • ISBN: 1849513848
  • ISBN-13: 9781849513845
  • 相關分類: Python程式語言
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Learn how to use Python's built-in graphics capabilities to create static and animated graphics for a range of real-world purposes. Over 100 recipes take you from basic shape creation to developing interactive GUIs. Overview Create captivating graphics with ease and bring them to life using Python Apply effects to your graphics using powerful Python methods Develop vector as well as raster graphics and combine them to create wonders in the animation world Create interactive GUIs to make your creation of graphics simpler Part of Packt's Cookbook series: Each recipe is a carefully organized sequence of instructions to accomplish the task of creation and animation of graphics as efficiently as possible Who This Book Is For If you are looking to create animated graphics to represent real-world scenarios then this book is for you. Teachers, scholars, students, and engineers who know it is possible to make fascinating models and demonstrations but have not found a handbook that pulls it all together in one place will find what they need in this recipe bank. Basic knowledge of Python programming is required and access to the Web and Google will be useful. What You Will Learn Install Python and create basic programs for making lines and shapes Apply different colors to your graphics using widgets and schemes available with the Tkinter module Work with raster images and animate them by combining vector images with raster images Optimize the storage and retrieval of graphics using hard disks, datastreams, and so on Develop GUIs for different purposes to enhance your interaction with the programs Move graphic objects smoothly around a screen by adding minimum delay and shift Explore alternative ways and means of getting graphic shape data into Tkinter programs Create beautiful patterns by setting any number of pivot points in different directions Use trajectory traces to examine the history of execution required for animating

商品描述(中文翻譯)

學習如何使用 Python 的內建圖形功能來創建靜態和動畫圖形,以滿足各種現實世界的需求。超過 100 個食譜將帶您從基本形狀創建到開發互動式 GUI。

概述
輕鬆創建引人入勝的圖形,並使用 Python 使其生動起來。使用強大的 Python 方法為您的圖形應用效果。開發向量和光柵圖形,並將它們結合以在動畫世界中創造奇蹟。創建互動式 GUI,使您的圖形創作更簡單。

本書為 Packt 的食譜系列的一部分:每個食譜都是一系列精心組織的指令,旨在以最有效的方式完成圖形的創建和動畫任務。

本書適合誰
如果您希望創建動畫圖形以表示現實世界的情境,那麼這本書適合您。教師、學者、學生和工程師都知道可以製作迷人的模型和演示,但尚未找到一本將所有內容整合在一起的手冊,這本食譜庫將滿足他們的需求。需要具備基本的 Python 程式設計知識,並且能夠訪問網路和 Google 將會很有幫助。

您將學到什麼
安裝 Python 並創建基本程序以製作線條和形狀。使用 Tkinter 模組中可用的小部件和方案為您的圖形應用不同顏色。處理光柵圖像並通過將向量圖像與光柵圖像結合來進行動畫。使用硬碟、數據流等優化圖形的存儲和檢索。為不同目的開發 GUI,以增強您與程序的互動。通過添加最小延遲和移動,平滑地在螢幕上移動圖形物件。探索將圖形形狀數據導入 Tkinter 程序的替代方法和手段。通過在不同方向設置任意數量的樞紐點來創建美麗的圖案。使用軌跡追蹤來檢查動畫所需的執行歷史。