Join Barron Stone for an in-depth discussion in this video Solution Overview, part of Code Clinic: Python.
My solution for this challenge is a relatively…short Python script called Theramin.py,…which is only about 80 lines of code long,…and I'm going to begin by just demonstrating…that for you.…You'll find the script inside the exercise files…in the problem four directory, and if you just…run the Theramin.py script, you'll create…a color canvas on the screen, which expands…to fill the entire space of the screen.…If you move the mouse up and down towards…the right side of the canvas, the colors will…fade between red and blue, and if you move your…mouse over to the left side of the canvas,…it will shift the color towards green.…
If you click and hold your mouse, the program…will begin playing a tone.…Move the mouse towards the right, and the…volume increases, and if you move it back…towards the left, it'll decrease.…You'll also notice that the program draws a line…to track where your mouse has been.…If you move your mouse towards the top…of the screen, the pitch will become higher,…and if you move the mouse towards the bottom…
Barron introduce challenges and provides an overview of his solutions in Python. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Visit other courses in the series to see how to solve the exact same challenges in languages like C#, C++, Java, PHP, and Ruby.
Skill Level Intermediate
Q: Why can't I access the Lake Pend Orielle site (http://lpo.dt.navy.mil)?
A: The Lake Pend Orielle site is not accessible in some geographical areas. We have contacted the owner of the server to try to resolve this issue.
Q: I am unable to access the Lake Pend Oreille data from outside the U.S.
A: A static copy of this data is provided here for lynda.com members outside of the U.S
Problem One: Exploring Lake Pend Oreille
Problem Two: Image Analysis
Problem Three: Eight Queens
Problem Four: Accessing Peripherals
Problem Five: Recursion and Directories
Problem Six: Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.