Description
By: Mahesh Venkitachalam
Python is a powerful programming language that’s easy to learn and fun to play with. But once you’ve gotten a handle on the basics, what do you do next?
Python Playground is a collection of imaginative programming projects that will inspire you to use Python to make art and music, build simulations of real-world phenomena, and interact with hardware like the Arduino and Raspberry Pi. You’ll learn to use common Python tools and libraries like numpy, matplotlib, and pygame to do things like:
–Generate Spirograph-like patterns using parametric equations and the turtle module
–Create music on your computer by simulating frequency overtones
–Translate graphical images into ASCII art
–Write an autostereogram program that produces 3D images hidden beneath random patterns
–Make realistic animations with OpenGL shaders by exploring particle systems, transparency, and billboarding techniques
–Construct 3D visualizations using data from CT and MRI scans
–Build a laser show that responds to music by hooking up your computer to an Arduino
Programming shouldn’t be a chore. Have some solid, geeky fun with Python Playground.
The projects in this book are compatible with both Python 2 and 3.
Python is a powerful programming language that’s easy to learn and fun to play with. But once you’ve gotten a handle on the basics, what do you do next?
Python Playground is a collection of imaginative programming projects that will inspire you to use Python to make art and music, build simulations of real-world phenomena, and interact with hardware like the Arduino and Raspberry Pi. You’ll learn to use common Python tools and libraries like numpy, matplotlib, and pygame to do things like:
–Generate Spirograph-like patterns using parametric equations and the turtle module
–Create music on your computer by simulating frequency overtones
–Translate graphical images into ASCII art
–Write an autostereogram program that produces 3D images hidden beneath random patterns
–Make realistic animations with OpenGL shaders by exploring particle systems, transparency, and billboarding techniques
–Construct 3D visualizations using data from CT and MRI scans
–Build a laser show that responds to music by hooking up your computer to an Arduino
Programming shouldn’t be a chore. Have some solid, geeky fun with Python Playground.
The projects in this book are compatible with both Python 2 and 3.
You may also like
Top Trending
Dog Man 14: Dog Man: Big Jim Believes: A Graphic Novel (Dog Man #14)
Sale priceHK$85.00
Regular priceHK$150.00
In stock
Press Start! #17 The Super Jump Between Worlds! (Branches)
Sale priceHK$55.00
Regular priceHK$98.00
In stock
Darkstalker: A Graphic Novel (Wings of Fire: Legends Graphic Novel)
Sale priceHK$99.00
Regular priceHK$154.00
In stock
The Midnight Heist (Geronimo Stilton and The Kingdom of Fantasy #17)
Sale priceHK$128.00
Regular priceHK$200.00
In stock
Anzu and the Realm of Darkness: A Graphic Novel
Sale priceFrom HK$85.00
Regular priceHK$140.00
In stock
Cat Kid Comic Club (正版) #04 Collaborations (Dav Pilkey)
Sale priceFrom HK$65.00
Regular priceHK$90.00
In stock
Harry Potter #4 and the Goblet of Fire (Interactive Illustrated Edition)
Sale priceHK$299.00
Regular priceHK$630.00
In stock