Python Playground

Python Playground

Description

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.

Similar Books

ISBN 10: 1593279922
ISBN 13: 9781593279929

12 Oct 2020
Al Sweigart

ISBN 10: 1593277954
ISBN 13: 9781593277956

03 Jan 2017
Al Sweigart

ISBN 10: 1593279280
ISBN 13: 9781593279288

09 May 2019
Eric Matthes

ISBN 10: 159327890X
ISBN 13: 9781593278908

21 Dec 2018
Lee Vaughan

ISBN 10: 1593278225
ISBN 13: 9781593278229

01 Feb 2018
Albert Sweigart

ISBN 10: 1593278055
ISBN 13: 9781593278052

18 Nov 2017
Bryson Payne

ISBN 10: 1593276400
ISBN 13: 9781593276409

19 Feb 2016
Amit Saha

ISBN 10: 1593278780
ISBN 13: 9781593278786

11 Jan 2019
Julien Danjou

ISBN 10: 1119457890
ISBN 13: 9781119457893

11 Apr 2018
John Paul Mueller

ISBN 10: 0134692888
ISBN 13: 9780134692883

07 Jul 2017
Zed Shaw

ISBN 10: 184614969X
ISBN 13: 9781846149696

05 Jan 2018
Shoukei Matsumoto

ISBN 10: 0241258766
ISBN 13: 9780241258767

27 May 2020
David Spiegelhalter