With p5.js, you can think of your entire Web browser as your canvas for sketching with code!
Learn programming the fun way--by sketching with interactive computer graphics! Getting Started with p5.js contains techniques that can be applied to creating games, animations, and interfaces. p5.js is a new interpretation of Processing written in JavaScript that makes it easy to interact with HTML5 objects, including text, input, video, webcam, and sound. Like its older sibling Processing, p5.js makes coding accessible for artists, designers, educators, and beginners.
Written by the lead p5.js developer and the founders of Processing, this book provides an introduction to the creative possibilities of today's Web, using JavaScript and HTML.
With Getting Started with p5.js, you'll:
- Quickly learn programming basics, from variables to objects
- Understand the fundamentals of computer graphics
- Create interactive graphics with easy-to-follow projects
- Learn to apply data visualization techniques
- Capture and manipulate webcam audio and video feeds in the browser
Lauren McCarthy is an artist and programmer based in Brooklyn, NY. She is full-time faculty at NYU ITP, and recently a resident at CMU STUDIO for Creative Inquiry and Eyebeam. She holds an MFA from UCLA and a BS Computer Science and BS Art and Design from MIT. Her work explores the structures and systems of social interactions, identity, and self-representation, and the potential for technology to mediate, manipulate, and evolve these interactions. She is fascinated by the slightly uncomfortable moments when patterns are shifted, expectations are broken, and participants become aware of the system. Casey Reas is a professor in the Department of Design Media Arts at UCLA and a graduate of the MIT Media Laboratory. Reas' software has been featured in numerous solo and group exhibitions at museums and galleries in the United States, Europe, and Asia. With Ben Fry, he co-founded Processing in 2001. He is the co-author of Processing: A Programming Handbook for Visual Designers and Artists (2007) and Form+Code in Design, Art, and Architecture (2010). His work is archived at www.reas.com. Ben Fry is an award-winning media artist, and has a doctorate from the MIT Media Laboratory. He worked with Casey Reas to develop Processing, which won a Golden Nica from the Prix Ars Electronica in 2005.