Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Before we get started with sketches there is just one more thing I want to take care of, I want you to be aware of the libraries that are available in Processing, both the libraries that come with Processing, but have to be installed, and the contributed libraries. Just like in other programming in languages, libraries are resources that can add pre-written code classes or data among other things that can make your programming life easier. In this movie, we'll take a quick look at the libraries that come with Processing, as well as where to find other contributed libraries, how to install them in Processing, and how to use them in a sketch.
On the other hand there are even more libraries than showed up in that list. If we go back to Sketch, to Import Library, we have this option to Add Library and we click on that that brings up the new Processing Library Manager this is new in Version 2.0. And here there's a large collection of libraries that are contributed, meaning they're not built-in, they are not from the core Processing people. We have a large collection here, one of the more interesting ones is the Carnivore Library, which is a surveillance tool for data networks and all you have to do is you click on it to select it and then click Install, and now it's downloaded and installed.
But Processing provides even more options for libraries of code. If you go to the Processing website at Processing.org and click on Reference and then Libraries, you first see the libraries that come with Processing and that we're able to install, for instance, the Video or the OpenGL ones. So as we scroll down however, you see there's a huge assortment of contributed libraries in various categories.
For instances, there are Sound ones. I'm a big fan of beads by Ollie Brown. There are Import/Export libraries; sDrop allows drag-and-drop implementation. Beneath that is a section on Tools, for instance, we have layers, which allows you to create sketches with multiple layers, the way you'd do in Photoshop or Illustrator. Hardware Interface, Animation tools, which can make a big difference in terms of doing Tweens, the way you're used to in Adobe Illustrator.
Typography tools, Computer Vision, an area that's of real interest to me, Face Detection libraries or down at the middle you have openkinect and simple-openni which allows you to use a Microsoft Kinect Sensor hooked directly of your computer in Processing, something I've used extensively. 3D Tools, Simulation Tools. Graphical Interface; these allow you give interfaces to your sketches, for instance, sliders and buttons that you don't have to code manually, we'll be using those later in this course.
And then we have entire collections or Compilations of libraries and then for working with data and other search protocols. For instance, the ability to access a Yahoo! Search library to work with SQL files or to work with Arduino. And so you see from this, libraries can add a lot of functionality to your Processing Sketches and make your work a lot more efficient and creative. We'll use several of these libraries as we go through this course on Interactive Data Visualization with Processing. But for now, we're ready to draw our very first Sketch.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 101856 Viewers
61 Video lessons · 88609 Viewers
71 Video lessons · 72422 Viewers
56 Video lessons · 104123 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.