Python Playground: Geeky Weekend Projects for the Curious Programmer Paperback

Mahesh Venkitachalam

  • 出版商: No Starch Press
  • 出版日期: 2015-10-31
  • 定價: $1,100
  • 售價: 5.0$550
  • 語言: 英文
  • 頁數: 352
  • 裝訂: Paperback
  • ISBN: 1593276044
  • ISBN-13: 9781593276041
  • 相關分類: Python程式語言
  • 立即出貨(限量) (庫存=2)

買這商品的人也買了...

商品描述

Python is a powerful programming language that's fun to play around with. Getting to know Python isn't just about hammering syntax into your brain—it's about discovering new tools to explore whatever excites you.

Python Playground is a collection of fun programming projects that will inspire you to new heights as a Pythonista. Inside, you'll learn to use Python for all kinds of playful purposes. You'll manipulate images, build simulations, and interact with hardware using Arduino and Raspberry Pi. As you work through each project, you'll power up your programming skills as you learn how to leverage external libraries for specialized tasks, how to break problems into smaller, solvable pieces, and how to translate an algorithm into code.

Inside, you'll build:

  • An autostereogram generator that creates patterns with hidden, 3D images
  • A program that translates image pixels into characters to create ASCII art
  • A Conway's Game of Life simulator
  • A ray casting volume renderer using OpenGL and GLSL
  • An Arduino rig that creates laser patterns based on audio input
Programming shouldn't be a chore. Have some good, geeky fun with Python Playground.

商品描述(中文翻譯)

Python Playground 是一本有趣的程式設計專案集,將激發你作為 Pythonista 的潛能。在這本書中,你將學習如何運用 Python 進行各種有趣的專案。你將會操作圖像、建立模擬,並使用 Arduino 和 Raspberry Pi 與硬體互動。在每個專案中,你將提升你的程式設計技巧,學習如何運用外部函式庫處理特定任務,如何將問題分解為可解決的小問題,以及如何將演算法轉化為程式碼。

在這本書中,你將建立以下專案:
- 一個自動立體圖生成器,可以創建具有隱藏的 3D 圖像的圖案
- 一個將圖像像素轉換為字符以創建 ASCII 藝術的程式
- 一個康威生命遊戲模擬器
- 一個使用 OpenGL 和 GLSL 的光線投射體積渲染器
- 一個根據音頻輸入創建激光圖案的 Arduino 裝置

程式設計不應該是一項繁瑣的任務。讓我們一起在 Python Playground 中享受一些有趣的、極客的樂趣吧!