• Complain

Lauren McCarthy - Getting Started with p5.js: Making Interactive Graphics in JavaScript and Processing

Here you can read online Lauren McCarthy - Getting Started with p5.js: Making Interactive Graphics in JavaScript and Processing full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2015, publisher: Maker Media, Inc, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Lauren McCarthy Getting Started with p5.js: Making Interactive Graphics in JavaScript and Processing

Getting Started with p5.js: Making Interactive Graphics in JavaScript and Processing: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Getting Started with p5.js: Making Interactive Graphics in JavaScript and Processing" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

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 todays Web, using JavaScript and HTML.

With Getting Started with p5.js, youll:

  • 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: author's other books


Who wrote Getting Started with p5.js: Making Interactive Graphics in JavaScript and Processing? Find out the surname, the name of the author of the book and a list of all author's works by series.

Getting Started with p5.js: Making Interactive Graphics in JavaScript and Processing — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Getting Started with p5.js: Making Interactive Graphics in JavaScript and Processing" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Make: Getting Started with p5.js

by Lauren McCarthy , Casey Reas , and Ben Fry

Copyright 2016 Maker Media. All rights reserved.

Printed in the United States of America.

Published by Maker Media, Inc. , 1160 Battery Street East, Suite 125, San Francisco, CA 94111.

Maker Media books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://safaribooksonline.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com .

  • Editor: Anna Kaziunas France
  • Production Editor: Kristen Brown
  • Copyeditor: Jasmine Kwityn
  • Proofreader: Kim Cofer
  • Indexer: Wendy Catalano
  • Interior Designer: David Futato
  • Cover Designer: Karen Montgomery
  • Illustrators: Taeyoon Choi and Rebecca Demarest
  • October 2015: First Edition
Revision History for the First Edition
  • 2015-09-25: First Release

See http://oreilly.com/catalog/errata.csp?isbn=9781457186776 for release details.

The Make logo and Maker Media logo are registered trademarks of Maker Media, Inc. Make: Getting Started with p5.js, the cover image, and related trade dress are trademarks of Maker Media, Inc.

While the publisher and the authors have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.

978-1-457-18677-6

[LSI]

This Is a Heading
Figure I-1 Preface p5js draws inspiration and guidance from another - photo 1
Figure I-1.
Preface

p5.js draws inspiration and guidance from another project, which began nearly 15 years ago. In 2001, Casey Reas and Ben Fry began work on a new platform to make programming interactive graphics easier; they called it Processing. They were frustrated with how difficult it was to write this type of software with the programming languages they usually used (C++ and Java), and were inspired by how simple it was to write interesting programs with the languages of their childhood (Logo and BASIC). They were most influenced by Design By Numbers (DBN), a language they were maintaining and teaching at the time (and which was created by their research advisor, John Maeda).

With Processing, Ben and Casey were searching for a better way to test their ideas easily in code, rather than just talking about them or spending too much time programming them in C++. Their other goal was to make a language for teaching design and art students how to program and to give more technical students an easier way to work with graphics. The combination is a positive departure from the way programming is usually taught. New users begin by focusing on graphics and interaction rather than on data structures and text console output.

Over the years, Processing has grown into a huge community. It is used in classrooms worldwide, in arts, humanities, and computer science curricula, as well as by professionals.

Two years ago, Ben and Casey approached me with a question: what would Processing look like if it were on the Web? p5.js starts with the original goal of Processing, to make coding accessible for artists, designers, educators, and beginners, then reinterprets it for todays Web using JavaScript and HTML.

Developing p5.js has felt like bringing different worlds together. To ease the transition to the Web for the existing community of Processing users, we adhered to the syntax and conventions of Processing as much as possible. However, p5.js is built with JavaScript, while Processing is built with a language called Java. These two languages have different patterns and affordances, so at times we had to deviate from familiar Processing syntax. It was also important that p5.js integrated seamlessly into all the existing web features, tools, and frameworks in order to draw in users that might be familiar with the Web but new to creative coding. Synthesizing all of these factors was a challenge, but the goal of uniting these frameworks provided a clear path for the development of p5.js.

A first beta version was launched in August 2014. Since then, it has been used and integrated into curricula around the world. There is an official p5.js Editor currently in development, and progress is underway on many new features and libraries.

p5.js is a community efforthundreds of people have contributed core features, bug fixes, examples, documentation, design, thoughts, and discussion. We aim to carry on the vision and the spirit of the Processing community as we open it up even more on the Web.

How This Book Is Organized

The chapters in this book are organized as follows:

  • : Learn about p5.js.

  • : Create your first p5.js program.

  • : Define and draw simple shapes.

  • : Store, modify, and reuse data.

  • : Control and influence programs with the mouse, keyboard, and touch.

  • : Transform the coordinates.

  • : Load and display media, including images and fonts.

  • : Move and choreograph shapes.

  • : Build new code modules.

  • : Create code modules that combine variables and functions.

  • : Simplify working with lists of variables.

  • : Load and visualize data.

  • : Learn about sound and the DOM.

Who This Book Is For

This book is written for people who want to create images and simple interactive programs through a casual and concise introduction to computer programming. Its for people who want a jump-start on understanding the thousands of free p5.js code examples and reference materials available online. Getting Started with p5.js is not a programming textbook; as the title suggests, it will get you started. Its for teenagers, hobbyists, grandparents, and everyone in between.

This book is also appropriate for people with programming experience who want to learn the basics of interactive computer graphics. Getting Started with p5.js contains techniques that can be applied to creating games, animations, and interfaces.

Conventions Used in This Book

The following typographical conventions are used in this book:

Italic

Indicates new terms, URLs, email addresses, filenames, and file extensions.

Constant width

Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.

Constant width italic

Shows text that should be replaced with user-supplied values or by values determined by context.

Note

This type of paragraph signifies a general note.

Using Code Examples

Supplemental material (code examples, exercises, etc.) is available for download at https://github.com/lmccart/gswp5.js-code.

This book is here to help you get your job done. In general, you may use the code in this book in your programs and documentation. You do not need to contact us for permission unless youre reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from Make: books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your products documentation does require permission.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Getting Started with p5.js: Making Interactive Graphics in JavaScript and Processing»

Look at similar books to Getting Started with p5.js: Making Interactive Graphics in JavaScript and Processing. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Getting Started with p5.js: Making Interactive Graphics in JavaScript and Processing»

Discussion, reviews of the book Getting Started with p5.js: Making Interactive Graphics in JavaScript and Processing and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.